Extends IEqualityComparer<T> of IType with the method IsConvertibleTo(IType, IType, ConversionKind), which checks for type inheritance and not equality.
Namespace: Metalama.Framework.Code.Comparers
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public interface ITypeComparer : IEqualityComparer<IType>, IEqualityComparer<INamedType>
Methods
Name | Description |
---|---|
Is(IType, IType, ConversionKind) | |
Is(IType, Type, ConversionKind) | |
IsConvertibleTo(IType, IType, ConversionKind) | Equivalent to the |
IsConvertibleTo(IType, Type, ConversionKind) | Equivalent to the |