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
Rule NUnit2010 fires for: Assert.That(instance == null) but not for Assert.That(instance is null).
It should also detected is not null to mean != null.
Code fixes should create: Assert.That(instance, Is.Null) and Assert.That(instance, Is.Not.Null) respectively.
The text was updated successfully, but these errors were encountered:
Rule NUnit2010 fires for:
Assert.That(instance == null)
but not forAssert.That(instance is null)
.It should also detected
is not null
to mean!= null
.Code fixes should create:
Assert.That(instance, Is.Null)
andAssert.That(instance, Is.Not.Null)
respectively.The text was updated successfully, but these errors were encountered: