Method ForCompatibleType
- Namespace
- Xunit.Sdk
- Assembly
- xunit.v3.assert.dll
ForCompatibleType(Type, object)
Creates a new instance of the IsNotAssignableFromException class to be thrown when the value is compatible with the given type.
public static IsNotAssignableFromException ForCompatibleType(Type expected, object actual)