We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccf82f8 commit 5fff6a4Copy full SHA for 5fff6a4
standard/classes.md
@@ -2800,7 +2800,7 @@ A compile-time error occurs unless all of the following are true for an override
2800
> }
2801
> ```
2802
>
2803
-> Without the type parameter constraints in the overriding methods, the compiler won’t know which base method is being overridden. *end example*
+> Without the type parameter constraint `where T : class`, the base method with the reference-typed type parameter cannot be overridden. *end example*
2804
2805
An override declaration can access the overridden base method using a *base_access* ([§12.8.15](expressions.md#12815-base-access)).
2806
0 commit comments