Skip to content

Commit

Permalink
Update classes.md
Browse files Browse the repository at this point in the history
  • Loading branch information
RexJaeschke authored and BillWagner committed Sep 25, 2023
1 parent 5bdd0c3 commit 1ece5c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions standard/classes.md
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,7 @@ Any constraints shall be consistent among dependent type parameters. If type par
It is valid for `S` to have the value type constraint and `T` to have the reference type constraint. Effectively this limits `T` to the types `System.Object`, `System.ValueType`, `System.Enum`, and any interface type.

The token `notnull` is neither a keyword nor a contextual keyword. When it is encountered, it will either:

- Bind to a type named `notnull`
- Bind to no type, in which case, it is interpreted as the nonnullable type constraint.

Expand Down

0 comments on commit 1ece5c4

Please sign in to comment.