Skip to content

Commit 6f875d8

Browse files
Nigel-Ecmajskeet
andcommitted
Update standard/expressions.md
Co-authored-by: Jon Skeet <[email protected]>
1 parent 2e3ec41 commit 6f875d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

standard/expressions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2126,7 +2126,7 @@ A *null_conditional_element_access* expression `E` is of the form `P?[A]B`; wher
21262126

21272127
Let `T` be the type of the expression `P.GetValueOrDefault()[A]B`.
21282128

2129-
- If `T` is a type parameter that is not known to be a reference type or a non-nullable value type, a compile-time error occurs.
2129+
- If `T` is a type parameter that is not known to be either a reference type or a non-nullable value type, a compile-time error occurs.
21302130
- If `T` is a non-nullable value type, then the type of `E` is `T?`, and the meaning of `E` is the same as the meaning of:
21312131

21322132
```csharp

0 commit comments

Comments
 (0)