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

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

Property Value

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