Method ForCompatibleType
- Namespace
- Xunit.Sdk
- Assembly
- xunit.v3.assert.dll
ForCompatibleType(Type, Type)
Creates a new instance of the IsNotTypeException class to be thrown when the object is a compatible type.
public static IsNotTypeException ForCompatibleType(Type expectedType, Type actualType)