PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / Method­Def­Declaration Class / Method­Def­Declaration Properties / Method­Def­Declaration.​Is­Generic­Definition Property

MethodDefDeclaration.IsGenericDefinition Property

Determines whether the current instance is a generic definition, i.e. whether it can be used to construct generic instances.

Namespace:  PostSharp.Sdk.CodeModel
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
public bool IsGenericDefinition { get; }

Property Value

Type: Boolean

Implements

IGeneric.IsGenericDefinition
Remarks
If the current property returns true, the semantics of IGenericDefinition are meaningful for the current instance.
See Also