Table of Contents

Class IsNotAssignableFromException

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

Exception thrown when Assert.IsNotAssignableFrom fails.

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

Methods

ForCompatibleType(Type, object)

Creates a new instance of the IsNotAssignableFromException class to be thrown when the value is compatible with the given type.