PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / IField Interface / IField Methods / IField.​Get­Field­Definition Method / IField.​Get­Field­Definition Method (Binding­Options)

IField.GetFieldDefinition Method (BindingOptions)

Finds in the current domain the FieldDefDeclaration corresponding to the current field and specifies BindingOptions.

Namespace:  PostSharp.Sdk.CodeModel
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
FieldDefDeclaration GetFieldDefinition(
	BindingOptions bindingOptions
)

Parameters

bindingOptions
Type: PostSharp.Sdk.CodeModel.BindingOptions
Binding options.

Return Value

Type: FieldDefDeclaration
The FieldDefDeclaration corresponding to the current instance in the current domain.
See Also