1 instantiation of IsNotTypeException
xunit.assert (1)
Sdk\Exceptions\IsNotTypeException.cs (1)
41 return new IsNotTypeException(
7 references to IsNotTypeException
Microsoft.DotNet.XUnitAssert.Tests (2)
TypeAssertsTests.cs (2)
294 Assert.IsType<IsNotTypeException>(result); 326 Assert.IsType<IsNotTypeException>(result);
xunit.assert (5)
Sdk\Exceptions\IsNotTypeException.cs (2)
31 /// Creates a new instance of the <see cref="IsNotTypeException"/> class to be thrown 35 public static IsNotTypeException ForExactType(Type type)
TypeAsserts.cs (3)
110 /// <exception cref="IsNotTypeException">Thrown when the object is the given type</exception> 125 /// <exception cref="IsNotTypeException">Thrown when the object is the given type</exception> 137 throw IsNotTypeException.ForExactType(expectedType);