Open sandboxFocus

Method Is

Is(IType, IType, ConversionKind, TypeComparison)

Declaration
[Obsolete("This method has been renamed IsConvertibleTo.")]
public static bool Is(this IType left, IType right, ConversionKind kind = ConversionKind.Default, TypeComparison typeComparison = TypeComparison.Default)
Parameters
Type Name Description
IType left
IType right
ConversionKind kind
TypeComparison typeComparison
Returns
Type Description
bool

Is(IType, Type, ConversionKind, TypeComparison)

Declaration
[Obsolete("This method has been renamed IsConvertibleTo.")]
public static bool Is(this IType left, Type right, ConversionKind kind = ConversionKind.Default, TypeComparison typeComparison = TypeComparison.Default)
Parameters
Type Name Description
IType left
Type right
ConversionKind kind
TypeComparison typeComparison
Returns
Type Description
bool

Is(IType, SpecialType, ConversionKind)

Declaration
[Obsolete("This method has been renamed IsConvertibleTo. Also consider using Equals.")]
public static bool Is(this IType left, SpecialType right, ConversionKind kind = ConversionKind.Default)
Parameters
Type Name Description
IType left
SpecialType right
ConversionKind kind
Returns
Type Description
bool