2 instantiations of NotNullException
xunit.assert (2)
Sdk\Exceptions\NotNullException.cs (2)
35
new
NotNullException
(
48
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)
29
/// <exception cref="
NotNullException
">Thrown when the object reference is null</exception>
37
throw
NotNullException
.ForNullValue();
46
/// <exception cref="
NotNullException
">Thrown when the value is null</exception>
55
throw
NotNullException
.ForNullStruct(typeof(T));
Sdk\Exceptions\NotNullException.cs (3)
30
/// Creates a new instance of the <see cref="
NotNullException
"/> class to be
44
/// Creates a new instance of the <see cref="
NotNullException
"/> class to be
47
public static
NotNullException
ForNullValue() =>