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
This may be a regression from #45993. Earlier builds reported:
(11,9): warning CS8631: The type 'T' cannot be used as type parameter 'V' in the generic type or method
'A<ValueType, int?>.M<V>(V)'. Nullability of type argument 'T' doesn't match constraint type 'System.ValueType'.
The text was updated successfully, but these errors were encountered:
A warning should be reported for
M<T>(t)
sinceT
is constrained toint?
which does not satisfy thenotnull
constraint.This may be a regression from #45993. Earlier builds reported:
The text was updated successfully, but these errors were encountered: