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

IGeneric.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: (
bool IsGenericDefinition { get; }

Property Value

Type: Boolean
If the current property returns true, the semantics of IGenericDefinition are meaningful for the current instance.
See Also