Table of Contents

Class IsAssignableFromException

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

Exception thrown when Assert.IsAssignableFrom fails.

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

Methods

ForIncompatibleType(Type, object?)

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