1 instantiation of IsTypeException
xunit.assert (1)
Sdk\Exceptions\IsTypeException.cs (1)
42 new IsTypeException(
11 references to IsTypeException
Microsoft.DotNet.XUnitAssert.Tests (4)
TypeAssertsTests.cs (4)
368 Assert.IsType<IsTypeException>(result); 404 Assert.IsType<IsTypeException>(result); 430 Assert.IsType<IsTypeException>(result); 466 Assert.IsType<IsTypeException>(result);
xunit.assert (7)
Sdk\Exceptions\IsAssignableFromException.cs (1)
33 /// Creates a new instance of the <see cref="IsTypeException"/> class to be thrown when
Sdk\Exceptions\IsTypeException.cs (2)
30 /// Creates a new instance of the <see cref="IsTypeException"/> class to be thrown 35 public static IsTypeException ForMismatchedType(
TypeAsserts.cs (4)
146 /// <exception cref="IsTypeException">Thrown when the object is not the given type</exception> 164 /// <exception cref="IsTypeException">Thrown when the object is not the given type</exception> 176 throw IsTypeException.ForMismatchedType(ArgumentFormatter.Format(expectedType), null); 190 throw IsTypeException.ForMismatchedType(expectedTypeName, actualTypeName);