Table of Contents

Method ForExactType

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

ForExactType(Type)

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

public static IsNotTypeException ForExactType(Type type)

Parameters

type Type

The expected type

Returns