From b114a3efc6621b469e6ca33c64f3868c4da8db74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20PUTIER?= Date: Sun, 11 Mar 2018 22:23:56 +0100 Subject: [PATCH] adding missing language identifiers --- docs/csharp/misc/cs0629.md | 2 +- docs/csharp/misc/cs0631.md | 2 +- docs/csharp/misc/cs0633.md | 4 ++-- docs/csharp/misc/cs0636.md | 2 +- docs/csharp/misc/cs0637.md | 2 +- docs/csharp/misc/cs0641.md | 2 +- docs/csharp/misc/cs0642.md | 2 +- docs/csharp/misc/cs0643.md | 2 +- docs/csharp/misc/cs0644.md | 2 +- docs/csharp/misc/cs0646.md | 2 +- docs/csharp/misc/cs0647.md | 2 +- docs/csharp/misc/cs0649.md | 2 +- docs/csharp/misc/cs0652.md | 2 +- docs/csharp/misc/cs0653.md | 2 +- docs/csharp/misc/cs0655.md | 2 +- docs/csharp/misc/cs0657.md | 2 +- docs/csharp/misc/cs0658.md | 2 +- docs/csharp/misc/cs0659.md | 2 +- docs/csharp/misc/cs0660.md | 2 +- docs/csharp/misc/cs0661.md | 2 +- docs/csharp/misc/cs0663.md | 2 +- docs/csharp/misc/cs0665.md | 2 +- docs/csharp/misc/cs0666.md | 2 +- docs/csharp/misc/cs0670.md | 2 +- docs/csharp/misc/cs0672.md | 2 +- docs/csharp/misc/cs0673.md | 2 +- docs/csharp/misc/cs0674.md | 2 +- docs/csharp/misc/cs0677.md | 2 +- docs/csharp/misc/cs0678.md | 2 +- docs/csharp/misc/cs0681.md | 4 ++-- docs/csharp/misc/cs0683.md | 2 +- docs/csharp/misc/cs0684.md | 2 +- docs/csharp/misc/cs0685.md | 2 +- docs/csharp/misc/cs0687.md | 2 +- docs/csharp/misc/cs0688.md | 2 +- docs/csharp/misc/cs0689.md | 2 +- docs/csharp/misc/cs0692.md | 2 +- docs/csharp/misc/cs0693.md | 2 +- docs/csharp/misc/cs0694.md | 4 ++-- docs/csharp/misc/cs0695.md | 2 +- docs/csharp/misc/cs0698.md | 2 +- docs/csharp/misc/cs0699.md | 2 +- docs/csharp/misc/cs0701.md | 2 +- docs/csharp/misc/cs0704.md | 2 +- docs/csharp/misc/cs0706.md | 2 +- docs/csharp/misc/cs0708.md | 2 +- docs/csharp/misc/cs0709.md | 2 +- docs/csharp/misc/cs0710.md | 2 +- docs/csharp/misc/cs0711.md | 2 +- docs/csharp/misc/cs0712.md | 2 +- 50 files changed, 53 insertions(+), 53 deletions(-) diff --git a/docs/csharp/misc/cs0629.md b/docs/csharp/misc/cs0629.md index f7039b5674a38..b4f84d781b76b 100644 --- a/docs/csharp/misc/cs0629.md +++ b/docs/csharp/misc/cs0629.md @@ -21,7 +21,7 @@ Conditional member 'member' cannot implement interface member 'base class member The following sample generates CS0629: -``` +```csharp // CS0629.cs interface MyInterface { diff --git a/docs/csharp/misc/cs0631.md b/docs/csharp/misc/cs0631.md index b9043662c8f9d..dd5237cb0c7d1 100644 --- a/docs/csharp/misc/cs0631.md +++ b/docs/csharp/misc/cs0631.md @@ -22,7 +22,7 @@ ref and out are not valid in this context ## Example The following sample generates CS0631: -``` +```csharp // CS0631.cs public class MyClass { diff --git a/docs/csharp/misc/cs0633.md b/docs/csharp/misc/cs0633.md index 65e6d0d400fb3..2b8dbe861cd35 100644 --- a/docs/csharp/misc/cs0633.md +++ b/docs/csharp/misc/cs0633.md @@ -22,7 +22,7 @@ The argument to the 'attribute' attribute must be a valid identifier ## Example This example illustrates CS0633 using the . The following sample generates CS0633. -``` +```csharp // CS0633a.cs #define DEBUG using System.Diagnostics; @@ -38,7 +38,7 @@ public class Test ## Example This example illustrates CS0633 using the . -``` +```csharp // CS0633b.cs // compile with: /target:module #define DEBUG diff --git a/docs/csharp/misc/cs0636.md b/docs/csharp/misc/cs0636.md index eef5724ca5b81..7ab0bb95eca6e 100644 --- a/docs/csharp/misc/cs0636.md +++ b/docs/csharp/misc/cs0636.md @@ -21,7 +21,7 @@ The FieldOffset attribute can only be placed on members of types marked with the The following sample generates CS0636: -``` +```csharp // CS0636.cs using System; using System.Runtime.InteropServices; diff --git a/docs/csharp/misc/cs0637.md b/docs/csharp/misc/cs0637.md index c41b1f7445df9..c944ba0a7a000 100644 --- a/docs/csharp/misc/cs0637.md +++ b/docs/csharp/misc/cs0637.md @@ -22,7 +22,7 @@ The FieldOffset attribute is not allowed on static or const fields. The following sample generates CS0637: -``` +```csharp // CS0637.cs using System; using System.Runtime.InteropServices; diff --git a/docs/csharp/misc/cs0641.md b/docs/csharp/misc/cs0641.md index bc510558a8d74..bb442cf31b8e3 100644 --- a/docs/csharp/misc/cs0641.md +++ b/docs/csharp/misc/cs0641.md @@ -21,7 +21,7 @@ ms.author: "wiwagn" The following sample generates CS0641: -``` +```csharp // CS0641.cs using System; diff --git a/docs/csharp/misc/cs0642.md b/docs/csharp/misc/cs0642.md index 05099c9254c1f..248d71bedc787 100644 --- a/docs/csharp/misc/cs0642.md +++ b/docs/csharp/misc/cs0642.md @@ -23,7 +23,7 @@ Possible mistaken empty statement The following sample generates CS0642: -``` +```csharp // CS0642.cs // compile with: /W:3 class MyClass diff --git a/docs/csharp/misc/cs0643.md b/docs/csharp/misc/cs0643.md index f7530e0d976f3..b92f3f3a0f615 100644 --- a/docs/csharp/misc/cs0643.md +++ b/docs/csharp/misc/cs0643.md @@ -22,7 +22,7 @@ ms.author: "wiwagn" ## Example The following sample generates CS0643: -``` +```csharp // CS0643.cs using System; using System.Runtime.InteropServices; diff --git a/docs/csharp/misc/cs0644.md b/docs/csharp/misc/cs0644.md index c05a357e7a64e..333c229fb2f97 100644 --- a/docs/csharp/misc/cs0644.md +++ b/docs/csharp/misc/cs0644.md @@ -31,7 +31,7 @@ ms.author: "wiwagn" The following sample generates CS0644: -``` +```csharp // CS0644.cs class MyClass : System.ValueType // CS0644 { diff --git a/docs/csharp/misc/cs0646.md b/docs/csharp/misc/cs0646.md index dcf0edca1973f..68332567fffe7 100644 --- a/docs/csharp/misc/cs0646.md +++ b/docs/csharp/misc/cs0646.md @@ -21,7 +21,7 @@ Cannot specify the DefaultMember attribute on a type containing an indexer The following sample generates CS0646: -``` +```csharp // CS0646.cs // compile with: /target:library [System.Reflection.DefaultMemberAttribute("x")] // CS0646 diff --git a/docs/csharp/misc/cs0647.md b/docs/csharp/misc/cs0647.md index df28cb32d823f..f49fd2abe62b1 100644 --- a/docs/csharp/misc/cs0647.md +++ b/docs/csharp/misc/cs0647.md @@ -19,7 +19,7 @@ Error emitting 'attribute' attribute -- 'reason' The following sample generates CS0647: -``` +```csharp // CS0647.cs using System.Runtime.InteropServices; diff --git a/docs/csharp/misc/cs0649.md b/docs/csharp/misc/cs0649.md index 4dda7d8dd36cb..e15e93607fd26 100644 --- a/docs/csharp/misc/cs0649.md +++ b/docs/csharp/misc/cs0649.md @@ -21,7 +21,7 @@ Field 'field' is never assigned to, and will always have its default value 'valu The following sample generates CS0649: -``` +```csharp // CS0649.cs // compile with: /W:4 using System.Collections; diff --git a/docs/csharp/misc/cs0652.md b/docs/csharp/misc/cs0652.md index 41f68b52a2821..30a3744deb453 100644 --- a/docs/csharp/misc/cs0652.md +++ b/docs/csharp/misc/cs0652.md @@ -21,7 +21,7 @@ Comparison to integral constant is useless; the constant is outside the range of The following sample generates CS0652: -``` +```csharp // CS0652.cs // compile with: /W:2 public class Class1 diff --git a/docs/csharp/misc/cs0653.md b/docs/csharp/misc/cs0653.md index d8db914097454..adb162823bf20 100644 --- a/docs/csharp/misc/cs0653.md +++ b/docs/csharp/misc/cs0653.md @@ -21,7 +21,7 @@ Cannot apply attribute class 'class' because it is abstract The following sample generates CS0653: -``` +```csharp // CS0653.cs using System; diff --git a/docs/csharp/misc/cs0655.md b/docs/csharp/misc/cs0655.md index dcff401fc1de6..313e3fc530563 100644 --- a/docs/csharp/misc/cs0655.md +++ b/docs/csharp/misc/cs0655.md @@ -22,7 +22,7 @@ ms.author: "wiwagn" ## Example The following sample generates CS0655: -``` +```csharp // CS0655.cs using System; diff --git a/docs/csharp/misc/cs0657.md b/docs/csharp/misc/cs0657.md index adde7b5ed4979..183f263172a72 100644 --- a/docs/csharp/misc/cs0657.md +++ b/docs/csharp/misc/cs0657.md @@ -21,7 +21,7 @@ ms.author: "wiwagn" The following sample generates CS0657: -``` +```csharp // CS0657.cs // compile with: /target:library public class TestAttribute : System.Attribute {} diff --git a/docs/csharp/misc/cs0658.md b/docs/csharp/misc/cs0658.md index 1d72e60107533..be425a2236a98 100644 --- a/docs/csharp/misc/cs0658.md +++ b/docs/csharp/misc/cs0658.md @@ -21,7 +21,7 @@ ms.author: "wiwagn" The following sample generates CS0658: -``` +```csharp // CS0658.cs using System; public class TestAttribute : Attribute{} diff --git a/docs/csharp/misc/cs0659.md b/docs/csharp/misc/cs0659.md index bea1988ee07d9..17612556a7665 100644 --- a/docs/csharp/misc/cs0659.md +++ b/docs/csharp/misc/cs0659.md @@ -31,7 +31,7 @@ ms.author: "wiwagn" The following sample generates CS0659: -``` +```csharp // CS0659.cs // compile with: /W:3 /target:library class Test diff --git a/docs/csharp/misc/cs0660.md b/docs/csharp/misc/cs0660.md index fc79aa3e14506..fe0757489e89f 100644 --- a/docs/csharp/misc/cs0660.md +++ b/docs/csharp/misc/cs0660.md @@ -21,7 +21,7 @@ ms.author: "wiwagn" The following sample generates CS0660: -``` +```csharp // CS0660.cs // compile with: /W:3 /warnaserror class Test // CS0660 diff --git a/docs/csharp/misc/cs0661.md b/docs/csharp/misc/cs0661.md index 1b8438e7431d2..641834c3a2303 100644 --- a/docs/csharp/misc/cs0661.md +++ b/docs/csharp/misc/cs0661.md @@ -21,7 +21,7 @@ ms.author: "wiwagn" The following sample generates CS0661: -``` +```csharp // CS0661.cs // compile with: /W:3 class Test // CS0661 diff --git a/docs/csharp/misc/cs0663.md b/docs/csharp/misc/cs0663.md index 66e4c6c71dd87..a80bab93995e6 100644 --- a/docs/csharp/misc/cs0663.md +++ b/docs/csharp/misc/cs0663.md @@ -21,7 +21,7 @@ Cannot define overloaded methods that differ only on ref and out. The following sample generates CS0663: -``` +```csharp // CS0663.cs class TestClass { diff --git a/docs/csharp/misc/cs0665.md b/docs/csharp/misc/cs0665.md index aef541f1a483d..804c0112d833e 100644 --- a/docs/csharp/misc/cs0665.md +++ b/docs/csharp/misc/cs0665.md @@ -21,7 +21,7 @@ Assignment in conditional expression is always constant; did you mean to use == The following sample generates CS0665: -``` +```csharp // CS0665.cs // compile with: /W:3 class Test diff --git a/docs/csharp/misc/cs0666.md b/docs/csharp/misc/cs0666.md index 9c17922bc9d60..b981780bc96da 100644 --- a/docs/csharp/misc/cs0666.md +++ b/docs/csharp/misc/cs0666.md @@ -22,7 +22,7 @@ ms.author: "wiwagn" ## Example The following sample generates CS0666: -``` +```csharp // CS0666.cs class M { diff --git a/docs/csharp/misc/cs0670.md b/docs/csharp/misc/cs0670.md index e3ff0a2fb4c81..29961a4a45fe2 100644 --- a/docs/csharp/misc/cs0670.md +++ b/docs/csharp/misc/cs0670.md @@ -21,7 +21,7 @@ Field cannot have void type The following sample generates CS0670: -``` +```csharp // CS0670.cs class C { diff --git a/docs/csharp/misc/cs0672.md b/docs/csharp/misc/cs0672.md index bd5ca0fdcee05..d47b54ccac85c 100644 --- a/docs/csharp/misc/cs0672.md +++ b/docs/csharp/misc/cs0672.md @@ -23,7 +23,7 @@ Member 'member1' overrides obsolete member 'member2. Add the Obsolete attribute The following sample generates CS0672: -``` +```csharp // CS0672.cs // compile with: /W:1 class MyClass diff --git a/docs/csharp/misc/cs0673.md b/docs/csharp/misc/cs0673.md index 668f7dc61967c..d916aa80f0a46 100644 --- a/docs/csharp/misc/cs0673.md +++ b/docs/csharp/misc/cs0673.md @@ -21,7 +21,7 @@ System.Void cannot be used from C# -- use typeof(void) to get the void type obje The following sample generates CS0673: -``` +```csharp // CS0673.cs class MyClass { diff --git a/docs/csharp/misc/cs0674.md b/docs/csharp/misc/cs0674.md index 752fd3971e7fd..ea6b9ae1f1a1e 100644 --- a/docs/csharp/misc/cs0674.md +++ b/docs/csharp/misc/cs0674.md @@ -21,7 +21,7 @@ Do not use 'System.ParamArrayAttribute'. Use the 'params' keyword instead. The following sample generates CS0674: -``` +```csharp // CS0674.cs using System; public class MyClass diff --git a/docs/csharp/misc/cs0677.md b/docs/csharp/misc/cs0677.md index 3b0affc88eb66..fa32e79fab2d4 100644 --- a/docs/csharp/misc/cs0677.md +++ b/docs/csharp/misc/cs0677.md @@ -29,7 +29,7 @@ ms.author: "wiwagn" The following sample generates CS0677: -``` +```csharp // CS0677.cs class TestClass { diff --git a/docs/csharp/misc/cs0678.md b/docs/csharp/misc/cs0678.md index b74a7def99586..67a8bad3c1f52 100644 --- a/docs/csharp/misc/cs0678.md +++ b/docs/csharp/misc/cs0678.md @@ -21,7 +21,7 @@ ms.author: "wiwagn" The following sample generates CS0678: -``` +```csharp // CS0678.cs using System; diff --git a/docs/csharp/misc/cs0681.md b/docs/csharp/misc/cs0681.md index 543cb9509e226..f8522b2e247c3 100644 --- a/docs/csharp/misc/cs0681.md +++ b/docs/csharp/misc/cs0681.md @@ -22,7 +22,7 @@ The modifier 'abstract' is not valid on fields. Try using a property instead ## Example The following sample generates CS0681: -``` +```csharp // CS0681.cs // compile with: /target:library abstract class C @@ -34,7 +34,7 @@ abstract class C ## Example Try the following code instead: -``` +```csharp // CS0681b.cs // compile with: /target:library abstract class C diff --git a/docs/csharp/misc/cs0683.md b/docs/csharp/misc/cs0683.md index 1ac46a67df283..ab7217ef238a3 100644 --- a/docs/csharp/misc/cs0683.md +++ b/docs/csharp/misc/cs0683.md @@ -19,7 +19,7 @@ ms.author: "wiwagn" The following sample generates CS0683: -``` +```csharp // CS0683.cs interface IExample { diff --git a/docs/csharp/misc/cs0684.md b/docs/csharp/misc/cs0684.md index bf481d5e87ac9..85799d43efeae 100644 --- a/docs/csharp/misc/cs0684.md +++ b/docs/csharp/misc/cs0684.md @@ -21,7 +21,7 @@ ms.author: "wiwagn" The following sample generates CS0684: -``` +```csharp // CS0684.cs // compile with: /W:1 using System; diff --git a/docs/csharp/misc/cs0685.md b/docs/csharp/misc/cs0685.md index fbe45333ce74b..05aefc389636d 100644 --- a/docs/csharp/misc/cs0685.md +++ b/docs/csharp/misc/cs0685.md @@ -22,7 +22,7 @@ Conditional member 'member' cannot have an out parameter ## Example The following sample generates CS0685: -``` +```csharp // CS0685.cs using System.Diagnostics; diff --git a/docs/csharp/misc/cs0687.md b/docs/csharp/misc/cs0687.md index 6a385cb93efcc..01ce301a62e33 100644 --- a/docs/csharp/misc/cs0687.md +++ b/docs/csharp/misc/cs0687.md @@ -22,7 +22,7 @@ The namespace alias qualifier '::' always resolves to a type or namespace so is ## Example The following sample generates CS0687: -``` +```csharp // CS0687.cs using M = Test; diff --git a/docs/csharp/misc/cs0688.md b/docs/csharp/misc/cs0688.md index 9bc0913771e07..a5ff97dc3d8a6 100644 --- a/docs/csharp/misc/cs0688.md +++ b/docs/csharp/misc/cs0688.md @@ -22,7 +22,7 @@ ms.author: "wiwagn" ## Example The following sample generates CS0688. To resolve the warning without modifying the base class, remove the security attribute from the overriding method. This will not solve the security problem. -``` +```csharp // CS0688.cs // compile with: /W:1 using System; diff --git a/docs/csharp/misc/cs0689.md b/docs/csharp/misc/cs0689.md index f653433ac7263..194a41ee682b8 100644 --- a/docs/csharp/misc/cs0689.md +++ b/docs/csharp/misc/cs0689.md @@ -21,7 +21,7 @@ Cannot derive from 'identifier' because it is a type parameter The following sample generates CS0689: -``` +```csharp // CS0689.cs class A : T // CS0689 { diff --git a/docs/csharp/misc/cs0692.md b/docs/csharp/misc/cs0692.md index def6da8a44421..77f28a8fc695a 100644 --- a/docs/csharp/misc/cs0692.md +++ b/docs/csharp/misc/cs0692.md @@ -22,7 +22,7 @@ Duplicate type parameter 'identifier' ## Example The following sample generates CS0692: -``` +```csharp // CS0692.cs // compile with: /target:library class C // CS0692 diff --git a/docs/csharp/misc/cs0693.md b/docs/csharp/misc/cs0693.md index cd441f0d8cf08..c4ac26ad1b3e5 100644 --- a/docs/csharp/misc/cs0693.md +++ b/docs/csharp/misc/cs0693.md @@ -24,7 +24,7 @@ Type parameter 'type parameter' has the same name as the type parameter from out ## Example The following sample generates CS0693. -``` +```csharp // CS0693.cs // compile with: /W:3 /target:library class Outer diff --git a/docs/csharp/misc/cs0694.md b/docs/csharp/misc/cs0694.md index 87d642acde036..04a378acba3be 100644 --- a/docs/csharp/misc/cs0694.md +++ b/docs/csharp/misc/cs0694.md @@ -22,7 +22,7 @@ Type parameter 'identifier' has the same name as the containing type, or method ## Example The following sample generates CS0694. -``` +```csharp // CS0694.cs // compile with: /target:library class C {} // CS0694 @@ -31,7 +31,7 @@ class C {} // CS0694 ## Example In addition to the above case involving a generic class, this error may occur with a method: -``` +```csharp // CS0694_2.cs // compile with: /target:library class A diff --git a/docs/csharp/misc/cs0695.md b/docs/csharp/misc/cs0695.md index 27ac89b7e1949..234c280eabe54 100644 --- a/docs/csharp/misc/cs0695.md +++ b/docs/csharp/misc/cs0695.md @@ -21,7 +21,7 @@ ms.author: "wiwagn" The following sample generates CS0695: -``` +```csharp // CS0695.cs // compile with: /target:library diff --git a/docs/csharp/misc/cs0698.md b/docs/csharp/misc/cs0698.md index 931c629cbfcf7..eb8ae31c958ac 100644 --- a/docs/csharp/misc/cs0698.md +++ b/docs/csharp/misc/cs0698.md @@ -21,7 +21,7 @@ A generic type cannot derive from 'class' because it is an attribute class The following sample generates CS0698: -``` +```csharp // CS0698.cs class C : System.Attribute // CS0698 { diff --git a/docs/csharp/misc/cs0699.md b/docs/csharp/misc/cs0699.md index 4359c9f2969a7..f3522c2b110ca 100644 --- a/docs/csharp/misc/cs0699.md +++ b/docs/csharp/misc/cs0699.md @@ -21,7 +21,7 @@ ms.author: "wiwagn" The following sample generates CS0699: -``` +```csharp // CS0699.cs class C where U : I // CS0699 – U is not a valid type parameter { diff --git a/docs/csharp/misc/cs0701.md b/docs/csharp/misc/cs0701.md index 3439545e78dd5..e81d1e8277606 100644 --- a/docs/csharp/misc/cs0701.md +++ b/docs/csharp/misc/cs0701.md @@ -22,7 +22,7 @@ ms.author: "wiwagn" ## Example The following sample generates CS0701. -``` +```csharp // CS0701.cs // compile with: /target:library class C where T : System.String {} // CS0701 diff --git a/docs/csharp/misc/cs0704.md b/docs/csharp/misc/cs0704.md index e7ae5ee637b4c..d6246b3e25f9e 100644 --- a/docs/csharp/misc/cs0704.md +++ b/docs/csharp/misc/cs0704.md @@ -22,7 +22,7 @@ Cannot do member lookup in 'type' because it is a type parameter ## Example The following sample generates CS0704: -``` +```csharp // CS0704.cs class B { diff --git a/docs/csharp/misc/cs0706.md b/docs/csharp/misc/cs0706.md index 0008c2046d853..d44d2d50af993 100644 --- a/docs/csharp/misc/cs0706.md +++ b/docs/csharp/misc/cs0706.md @@ -22,7 +22,7 @@ Invalid constraint type. A type used as a constraint must be an interface, a non ## Example The following sample generates CS0706. -``` +```csharp // CS0706.cs // compile with: /target:library class A {} diff --git a/docs/csharp/misc/cs0708.md b/docs/csharp/misc/cs0708.md index 11047ccfc309e..79e784ec0bc10 100644 --- a/docs/csharp/misc/cs0708.md +++ b/docs/csharp/misc/cs0708.md @@ -21,7 +21,7 @@ ms.author: "wiwagn" The following sample generates CS0708: -``` +```csharp // CS0708.cs // compile with: /target:library public static class C diff --git a/docs/csharp/misc/cs0709.md b/docs/csharp/misc/cs0709.md index 1e9eea0631806..4549a513e7e1b 100644 --- a/docs/csharp/misc/cs0709.md +++ b/docs/csharp/misc/cs0709.md @@ -22,7 +22,7 @@ ms.author: "wiwagn" ## Example The following sample generates CS0709. -``` +```csharp // CS0709.cs // compile with: /target:library public static class Base {} diff --git a/docs/csharp/misc/cs0710.md b/docs/csharp/misc/cs0710.md index 8ba3c792bbee3..238924841bd70 100644 --- a/docs/csharp/misc/cs0710.md +++ b/docs/csharp/misc/cs0710.md @@ -21,7 +21,7 @@ Static classes cannot have instance constructors The following sample generates CS0710: -``` +```csharp // CS0710.cs public static class C { diff --git a/docs/csharp/misc/cs0711.md b/docs/csharp/misc/cs0711.md index 6cedc18298d3d..779f3f4e839ce 100644 --- a/docs/csharp/misc/cs0711.md +++ b/docs/csharp/misc/cs0711.md @@ -21,7 +21,7 @@ Static classes cannot contain destructors The following sample generates CS0711: -``` +```csharp // CS0711.cs public static class C { diff --git a/docs/csharp/misc/cs0712.md b/docs/csharp/misc/cs0712.md index edf30e93512b6..0451e12e7658b 100644 --- a/docs/csharp/misc/cs0712.md +++ b/docs/csharp/misc/cs0712.md @@ -22,7 +22,7 @@ Cannot create an instance of the static class 'static class' ## Example The following sample generates CS0712: -``` +```csharp // CS0712.cs public static class SC {