PostSharp 6.4 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Reflection Namespace / Method­Usage­Code­Reference Class / Method­Usage­Code­Reference Properties / Method­Usage­Code­Reference.​Using­Method Property

MethodUsageCodeReference.UsingMethod Property

Gets the method (MethodInfo or ConstructorInfo) whose body uses the declaration.

Namespace:  PostSharp.Reflection
Assembly:  PostSharp (in PostSharp.dll) Version: 6.4.11.0 (6.4.11.0)
Syntax
C#
public MethodBase UsingMethod { get; }

Property Value

Type: MethodBase
See Also