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