Skip to content

Commit dc4f854

Browse files
Nigel-Ecmajskeet
andcommitted
Update standard/expressions.md
Co-authored-by: Jon Skeet <[email protected]>
1 parent 18f1702 commit dc4f854

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
@@ -2124,7 +2124,7 @@ A *null_conditional_element_access* expression `E` is of the form `P?[A]B`; wher
21242124

21252125
- If the type of `P` is a nullable value type:
21262126

2127-
Let `T` be the type of the expression `P.GetValueOrDefault()[A]B`.
2127+
Let `T` be the type of the expression `P.Value[A]B`.
21282128

21292129
- 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:

0 commit comments

Comments
 (0)