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

IField.GetGenericContext Method

Gets the generic context of the declaring type, or an empty context if the member is contained by the module.

Namespace:  PostSharp.Sdk.CodeModel
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
GenericMap GetGenericContext(
	GenericContextOptions options
)

Parameters

options
Type: PostSharp.Sdk.CodeModel.GenericContextOptions

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

Return Value

Type: GenericMap

[Missing <returns> documentation for "M:PostSharp.Sdk.CodeModel.IField.GetGenericContext(PostSharp.Sdk.CodeModel.GenericContextOptions)"]

See Also