Missing nullability warning for an explicit conversion to a type parameter #30925
Labels
Area-Compilers
Bug
New Language Feature - Nullable Reference Types
Nullable Reference Types
Resolution-Fixed
The bug has been fixed and/or the requested behavior has been implemented
Milestone
Observed:
No warnings for
x1 = (T)y1;
.Expected :
A warning because T could be a not nullable reference type and y1 is
object?
.The text was updated successfully, but these errors were encountered: