PostSharp 6.5 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Reflection Namespace / Method­Usage­Code­Reference Class / Method­Usage­Code­Reference Properties / Method­Usage­Code­Reference.​Used­Declaration Property

MethodUsageCodeReference.UsedDeclaration Property

Gets the declaration (Type, MethodInfo or ConstructorInfo) used by the method.

Namespace:  PostSharp.Reflection
Assembly:  PostSharp (in PostSharp.dll) Version: 6.5.15.0 (6.5.15.0)
Syntax
C#
public MemberInfo UsedDeclaration { get; }

Property Value

Type: MemberInfo
See Also