PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Weaver.​Aspect­Weavers Namespace / Method­Level­Aspect­Weaver­Instance Class / Method­Level­Aspect­Weaver­Instance Properties / Method­Level­Aspect­Weaver­Instance.​Target­Method Property

MethodLevelAspectWeaverInstance.TargetMethod Property

Gets the method to which the aspect is applied.

Namespace:  PostSharp.Sdk.AspectWeaver.AspectWeavers
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
Syntax
C#
public IMethod TargetMethod { get; }

Property Value

Type: IMethod
See Also