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
typeTypeThe expected type