Open sandboxFocus

Enum ConversionFlags

Flags that modify the behavior of type conversion checks in IsConvertibleTo(IType, IType, ConversionKind, ConversionFlags).

Namespace: Metalama.Framework.Code
Assembly: Metalama.Framework.dll
Syntax
[Flags]
[CompileTime]
public enum ConversionFlags

Fields

Name Description
Default

Default behavior. No special flags.

TypeParameterEquivalence

When set, method-level type parameters are considered equivalent if they occupy the same ordinal position, regardless of which declaring method they belong to. This is useful when comparing method signatures from different declaring types, where their type parameters are distinct objects but represent the same positional slot.