Suggestion: Issue diagnostic for IsNull/IsNotNull when called with non-nullable type
bjornhellander opened this issue · comments
Björn Hellander commented
Would be nice with a diagnostic when Assert.IsNotNull and Assert.IsNull is called with a value type other than Nullable, since those asserts will either always pass or always fail.
Amaury Levé commented
Hi @bjornhellander! Thanks for the suggestion, this would be valuable, adding for our next milestone.