Table of Contents

Class IsNotTypeException

Namespace
Xunit.Sdk
Assembly
xunit.v3.assert.dll

Exception thrown when Assert.IsNotType fails.

public class IsNotTypeException : XunitException, ISerializable, IAssertionException
Inheritance
IsNotTypeException
Implements
Inherited Members

Methods

ForCompatibleType(Type, Type)

Creates a new instance of the IsNotTypeException class to be thrown when the object is a compatible type.

ForExactType(Type)

Creates a new instance of the IsNotTypeException class to be thrown when the object is the exact type.