We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2833c15 commit 1b8e8c3Copy full SHA for 1b8e8c3
standard/attributes.md
@@ -20,7 +20,7 @@ A generic class declaration shall not use `System.Attribute` as a direct or indi
20
21
> *Example*:
22
>
23
-> <!-- Example: {template:"standalone-lib", name:"AttributeCantBeGeneric", expectedErrors:["CS8652"], ignoredWarnings:["CS0169"]} -->
+> <!-- Example: {template:"standalone-lib", name:"AttributeCantBeGeneric", expectedErrors:["CS8936"], ignoredWarnings:["CS0169"]} -->
24
> ```csharp
25
> public class B : Attribute {}
26
> public class C<T> : B {} // Error – generic cannot be an attribute
0 commit comments