MethodSpecDeclaration.GetGenericContext Method |
Namespace: PostSharp.Sdk.CodeModel
Assembly: PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
public GenericMap GetGenericContext( GenericContextOptions options = GenericContextOptions.None )
Parameters
- options (Optional)
- Type: PostSharp.Sdk.CodeModel.GenericContextOptions
[Missing <param name="options"/> documentation for "M:PostSharp.Sdk.CodeModel.MethodSpecDeclaration.GetGenericContext(PostSharp.Sdk.CodeModel.GenericContextOptions)"]
Return Value
Type: GenericMapA 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).