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

IField.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#
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.
See Also