microsoft / testfx

MSTest framework and adapter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Suggestion: Issue diagnostic for IsNull/IsNotNull when called with non-nullable type

bjornhellander opened this issue · comments

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.

Hi @bjornhellander! Thanks for the suggestion, this would be valuable, adding for our next milestone.