Class NotNullException
- Namespace
- Xunit.Sdk
- Assembly
- xunit.v3.assert.dll
Exception thrown when Assert.NotNull fails.
public class NotNullException : XunitException, ISerializable, IAssertionException
- Inheritance
-
NotNullException
- Implements
- Inherited Members
Methods
- ForNullStruct(Type)
Creates a new instance of the NotNullException class to be throw when a nullable struct is
null.
- ForNullValue()
Creates a new instance of the NotNullException class to be thrown when a reference value is
null.