dotnet / dotnet/csharpstandard
11.2.9 Reason for conversion from expression rather than type
Open
type: clarity
- Dominant language
- C#
- Stars
- 815
- Forks
- 99
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 16
Description
12.2.9 starts:
> An implicit dynamic conversion exists from an expression of type dynamic to any type `T`.
I seem to remember there are subtle reasons which this isn't:
> An implicit dynamic conversion exists from the dynamic type to any type T.
I suspect it's because there'd then be an implicit conversion both ways. Is that the case? Is this worth an explanatory note?
Contributor guide
Assessment
This issue has not been assessed yet.