Skip to content

Commit 62bd6f5

Browse files
committed
'?' can appear on nullable reference type parameters
1 parent a4af924 commit 62bd6f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

standard/types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ For convenience, throughout this specification, some library type names are writ
2727

2828
### 8.2.1 General
2929

30-
A reference type is a class type, an interface type, an array type, a delegate type, the `dynamic` type, or any type parameter that is constrained to be a reference type (that is, any type parameter with the reference type constraint or a class type constraint ([§15.2.5](classes.md#1525-type-parameter-constraints))). For each non-nullable reference type, there is a corresponding nullable reference type noted by appending the `?` to the type name.
30+
A reference type is a class type, an interface type, an array type, a delegate type, the `dynamic` type, or any type parameter that is constrained to be a reference type (that is, any type parameter with the reference type constraint or a class type constraint ([§15.2.5](classes.md#1525-type-parameter-constraints))). For each reference type that either is non-nullable or is a type parameter, there is a corresponding nullable reference type noted by appending the `?` to the type name.
3131

3232
```ANTLR
3333
reference_type

0 commit comments

Comments
 (0)