You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| | `default(T)` | Obtain default value of type `T` |
| | `delegate {...}` | Anonymous function (anonymous method) |
should be
| | `default(T)` | Obtain default value of type `T` |
| | `nameof(x)` | Obtain the name of `x` as a constant string |
| | `delegate {...}` | Anonymous function (anonymous method) |
The text was updated successfully, but these errors were encountered:
The elvis operators are also missing (I'm not entirely sure how to even bring that up; are they unary in this table based on this?). I suppose it comes down to whether the table here is an authoritative source vs a high level summary of the language's expressions.
Syntactically to the rest of the spec nameof doesn't seem much different than checked(x), unchecked(x) or default(T) which are all in the table except for the quirk where it might not be a keyword and then becomes an invocation expression.
I'm closing this. This entire clause has been removed from the C# standard in V5. The new expressions are added in the expressions chapter in the correct location.
https://github.com/dotnet/csharplang/blob/master/spec/introduction.md#expressions
should be
The text was updated successfully, but these errors were encountered: