3 instantiations of NullException
xunit.assert (3)
Sdk\Exceptions\NullException.cs (3)
36
new
NullException
(
54
new
NullException
(
71
new
NullException
(
11 references to NullException
Microsoft.DotNet.XUnitAssert.Tests (2)
Asserts\NullAssertsTests.cs (2)
101
Assert.IsType<
NullException
>(ex);
121
Assert.IsType<
NullException
>(ex);
xunit.assert (9)
NullAsserts.cs (4)
80
/// <exception cref="
NullException
">Thrown when the object reference is not null</exception>
88
throw
NullException
.ForNonNullValue(@object);
95
/// <exception cref="
NullException
">Thrown when the value is not null</exception>
100
throw
NullException
.ForNonNullStruct(typeof(T), value);
Sdk\Exceptions\NullException.cs (5)
31
/// Creates a new instance of the <see cref="
NullException
"/> class to be thrown
35
public static
NullException
ForNonNullPointer(Type type) =>
45
/// Creates a new instance of the <see cref="
NullException
"/> class to be thrown
66
/// Creates a new instance of the <see cref="
NullException
"/> class to be thrown
70
public static
NullException
ForNonNullValue(object actual) =>