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
Assert.That(exception,Is.Not.Null);Assert.That(exception.ParamName,Is.EqualTo("udpClient"));//<< No warning
Would it be possible for this to work for Assume as well?
Assume.That(exception,Is.Not.Null)stringname=exception.ParamName;//<< Possible 'System.NullReferenceException' warning
The text was updated successfully, but these errors were encountered:
manfred-brands
changed the title
Possibly Null Reference Waning should be suppressed for Assume
Possibly Null Reference Warning should be suppressed for Assume
Feb 19, 2024
The DereferencePossiblyNullReferenceSuppressor class suppresses the
Possible 'System.NullReferenceException'
warning in case of:Would it be possible for this to work for
Assume
as well?The text was updated successfully, but these errors were encountered: