Finds in the current domain the FieldDefDeclaration corresponding to the current field.

Namespace:  PostSharp.CodeModel
Assembly:  PostSharp.Core (in PostSharp.Core.dll)

Syntax

Visual Basic (Declaration)
Function GetFieldDefinition As FieldDefDeclaration
C#
FieldDefDeclaration GetFieldDefinition()
Visual C++
FieldDefDeclaration^ GetFieldDefinition()

Return Value

The FieldDefDeclaration corresponding to the current instance in the current domain.

See Also