PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / Field­Def­Declaration Class / Field­Def­Declaration Methods / Field­Def­Declaration.​Get­Generic­Instance Method

FieldDefDeclaration.GetGenericInstance Method

Gets a generic instance of the current field.

Namespace:  PostSharp.Sdk.CodeModel
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
public IField GetGenericInstance(
	GenericMap genericMap
)

Parameters

genericMap
Type: PostSharp.Sdk.CodeModel.GenericMap
Generic arguments.

Return Value

Type: IField
A generic instance of the current field constructed using genericMap for generic arguments.

Implements

IField.GetGenericInstance(GenericMap)
See Also