PostSharp 5.0 / / 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: 5.0.55.0 (5.0.55.0)
Syntax
C#
public MemberInfo UsedDeclaration { get; }

Property Value

Type: MemberInfo
See Also