PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / IGeneric Interface / IGeneric Methods / IGeneric.​Get­Generic­Context Method

IGeneric.GetGenericContext Method

Gets the generic context inside the scope of the generic instance.

Namespace:  PostSharp.Sdk.CodeModel
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: (
GenericMap GetGenericContext(
	GenericContextOptions options = GenericContextOptions.None


options (Optional)
Type: PostSharp.Sdk.CodeModel.GenericContextOptions

[Missing <param name="options"/> documentation for "M:PostSharp.Sdk.CodeModel.IGeneric.GetGenericContext(PostSharp.Sdk.CodeModel.GenericContextOptions)"]

Return Value

Type: GenericMap
A GenericMap mapping ordinals either to GenericParameterDeclaration (in case of generic definition), either of the type signature associated to this ordinal (in the case of generic instance).
See Also