1 instantiation of IsNotAssignableFromException
xunit.assert (1)
Sdk\Exceptions\IsNotAssignableFromException.cs (1)
38
new
IsNotAssignableFromException
(
11 references to IsNotAssignableFromException
Microsoft.DotNet.XUnitAssert.Tests (6)
TypeAssertsTests.cs (6)
168
Assert.IsType<
IsNotAssignableFromException
>(result);
184
Assert.IsType<
IsNotAssignableFromException
>(result);
200
Assert.IsType<
IsNotAssignableFromException
>(result);
231
Assert.IsType<
IsNotAssignableFromException
>(result);
247
Assert.IsType<
IsNotAssignableFromException
>(result);
263
Assert.IsType<
IsNotAssignableFromException
>(result);
xunit.assert (5)
Sdk\Exceptions\IsNotAssignableFromException.cs (2)
30
/// Creates a new instance of the <see cref="
IsNotAssignableFromException
"/> class to be thrown when
35
public static
IsNotAssignableFromException
ForCompatibleType(
TypeAsserts.cs (3)
77
/// <exception cref="
IsNotAssignableFromException
">Thrown when the object is of the given type</exception>
90
/// <exception cref="
IsNotAssignableFromException
">Thrown when the object is of the given type</exception>
102
throw
IsNotAssignableFromException
.ForCompatibleType(expectedType, @object);