1 instantiation of IsNotTypeException
xunit.assert (1)
Sdk\Exceptions\IsNotTypeException.cs (1)
35
return new
IsNotTypeException
(
7 references to IsNotTypeException
Microsoft.DotNet.XUnitAssert.Tests (2)
TypeAssertsTests.cs (2)
294
Assert.IsType<
IsNotTypeException
>(result);
326
Assert.IsType<
IsNotTypeException
>(result);
xunit.assert (5)
Sdk\Exceptions\IsNotTypeException.cs (2)
25
/// Creates a new instance of the <see cref="
IsNotTypeException
"/> class to be thrown
29
public static
IsNotTypeException
ForExactType(Type type)
TypeAsserts.cs (3)
105
/// <exception cref="
IsNotTypeException
">Thrown when the object is the given type</exception>
120
/// <exception cref="
IsNotTypeException
">Thrown when the object is the given type</exception>
132
throw
IsNotTypeException
.ForExactType(expectedType);