PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / Type­Spec­Declaration Class / Type­Spec­Declaration Properties / Type­Spec­Declaration.​Is­Generic­Instance Property

TypeSpecDeclaration.IsGenericInstance Property

Determines whether the current instance is a generic instance, i.e. whether it has been constructed from a generic definition.

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

Property Value

Type: Boolean

Implements

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