1 instantiation of IsTypeException
xunit.assert (1)
Sdk\Exceptions\IsTypeException.cs (1)
37 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)
28 /// Creates a new instance of the <see cref="IsTypeException"/> class to be thrown when
Sdk\Exceptions\IsTypeException.cs (2)
25 /// Creates a new instance of the <see cref="IsTypeException"/> class to be thrown 30 public static IsTypeException ForMismatchedType(
TypeAsserts.cs (4)
141 /// <exception cref="IsTypeException">Thrown when the object is not the given type</exception> 159 /// <exception cref="IsTypeException">Thrown when the object is not the given type</exception> 171 throw IsTypeException.ForMismatchedType(ArgumentFormatter.Format(expectedType), null); 185 throw IsTypeException.ForMismatchedType(expectedTypeName, actualTypeName);