2 instantiations of NotNullException
xunit.assert (2)
Sdk\Exceptions\NotNullException.cs (2)
30
new
NotNullException
(
43
new
NotNullException
("Assert.NotNull() Failure: Value is null");
9 references to NotNullException
Microsoft.DotNet.XUnitAssert.Tests (2)
NullAssertsTests.cs (2)
31
Assert.IsType<
NotNullException
>(ex);
42
Assert.IsType<
NotNullException
>(ex);
xunit.assert (7)
NullAsserts.cs (4)
24
/// <exception cref="
NotNullException
">Thrown when the object reference is null</exception>
32
throw
NotNullException
.ForNullValue();
41
/// <exception cref="
NotNullException
">Thrown when the value is null</exception>
50
throw
NotNullException
.ForNullStruct(typeof(T));
Sdk\Exceptions\NotNullException.cs (3)
25
/// Creates a new instance of the <see cref="
NotNullException
"/> class to be
39
/// Creates a new instance of the <see cref="
NotNullException
"/> class to be
42
public static
NotNullException
ForNullValue() =>