1 instantiation of IsAssignableFromException
xunit.assert (1)
Sdk\Exceptions\IsAssignableFromException.cs (1)
45
new
IsAssignableFromException
(
8 references to IsAssignableFromException
Microsoft.DotNet.XUnitAssert.Tests (4)
TypeAssertsTests.cs (4)
22
Assert.IsType<
IsAssignableFromException
>(result);
73
Assert.IsType<
IsAssignableFromException
>(result);
91
Assert.IsType<
IsAssignableFromException
>(result);
142
Assert.IsType<
IsAssignableFromException
>(result);
xunit.assert (4)
Sdk\Exceptions\IsAssignableFromException.cs (1)
38
public static
IsAssignableFromException
ForIncompatibleType(
TypeAsserts.cs (3)
38
/// <exception cref="
IsAssignableFromException
">Thrown when the object is not the given type</exception>
56
/// <exception cref="
IsAssignableFromException
">Thrown when the object is not the given type</exception>
68
throw
IsAssignableFromException
.ForIncompatibleType(expectedType, @object);