Skip to content

Commit 39d770c

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

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
@@ -1761,7 +1761,7 @@ A *null_conditional_member_access* expression `E` is of the form `P?.A`. The me
17611761

17621762
- If the type of `P` is a nullable value type:
17631763

1764-
Let `T` be the type of `P.GetValueOrDefault().A`.
1764+
Let `T` be the type of `P.Value.A`.
17651765

17661766
- 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.
17671767
- 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)