MethodSpecDeclaration.GetMethodDefinition Method (BindingOptions) |
Finds in the current domain the MethodDefDeclaration corresponding
to the current method and specifies BindingOptions.
Namespace: PostSharp.Sdk.CodeModel
Assembly: PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public MethodDefDeclaration GetMethodDefinition( BindingOptions bindingOptions )
Parameters
- bindingOptions
- Type: PostSharp.Sdk.CodeModel.BindingOptions
Binding options.
Return Value
Type: MethodDefDeclarationThe MethodDefDeclaration corresponding to the current instance in the current domain.