MetalamaAPI documentationAspect APIMetalama.​Framework.​CodeConversion­KindType­Definition
Open sandboxFocus

ConversionKind.TypeDefinition Field

Accepts any value that extends or implements a type that is of the same type definition as the given type definition.

Namespace: Metalama.Framework.Code
Assembly: Metalama.Framework.dll
public const ConversionKind TypeDefinition
Type Description

For non-generic types behaves like Reference. For generic types, ignores all type arguments and tests that the given type definition is equal to a type definition of the value, a type definition of any base type, or a type definition of any implemented interface (by the type itself or by any base type, including base interfaces).