dotnet / dotnet/csharpstandard
Spec doesn't say that the result of `?:` is an rvalue
Open
- Dominant language
- C#
- Stars
- 815
- Forks
- 99
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 16
Description
This was noticed in the context of compiler issue https://github.com/dotnet/roslyn/issues/17756
The specification for `?:` should make it clear that it results in a value, not a variable.
Contributor guide
Assessment
This issue has not been assessed yet.