MetalamaAPI documentationAspect APIMetalama.​Framework.​Code.​ComparersIType­ComparerIs
Open sandboxFocus

ITypeComparer.Is Method

Is(IType, IType, ConversionKind)

Equivalent to the is operator in C#. Gets a value indicating whether the left IType is assignable to right IType.

Declaration
bool Is(IType left, IType right, ConversionKind kind)
Parameters
Type Name Description
IType left
IType right
ConversionKind kind
Returns
Type Description
System.Boolean

Is(IType, Type, ConversionKind)

Equivalent to the is operator in C#. Gets a value indicating whether the left System.Type is assignable to right System.Type.

Declaration
bool Is(IType left, Type right, ConversionKind kind)
Parameters
Type Name Description
IType left
System.Type right
ConversionKind kind
Returns
Type Description
System.Boolean