1 instantiation of IsNotTypeException
xunit.assert (1)
Sdk\Exceptions\IsNotTypeException.cs (1)
38 return new IsNotTypeException(
13 references to IsNotTypeException
Microsoft.DotNet.XUnitAssert.Tests (2)
TypeAssertsTests.cs (2)
294 Assert.IsType<IsNotTypeException>(result); 326 Assert.IsType<IsNotTypeException>(result);
xunit.assert (11)
Sdk\Exceptions\IsNotTypeException.cs (5)
30 static IsNotTypeException Create( 52 /// Creates a new instance of the <see cref="IsNotTypeException"/> class to be thrown 57 public static IsNotTypeException ForCompatibleType( 63 /// Creates a new instance of the <see cref="IsNotTypeException"/> class to be thrown 67 public static IsNotTypeException ForExactType(Type type) =>
TypeAsserts.cs (6)
110 /// <exception cref="IsNotTypeException">Thrown when the object is the given type</exception> 127 /// <exception cref="IsNotTypeException">Thrown when the object is the given type</exception> 145 /// <exception cref="IsNotTypeException">Thrown when the object is the given type</exception> 162 /// <exception cref="IsNotTypeException">Thrown when the object is the given type</exception> 177 throw IsNotTypeException.ForExactType(expectedType); 184 throw IsNotTypeException.ForCompatibleType(expectedType, actualType);