PostSharp 2023.0 / / 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: 2023.0.3.0 (2023.0.3.0)
Syntax
C#
public MethodBase UsingMethod { get; }

Property Value

Type: MethodBase
See Also