PostSharp 6.10 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Reflection.​Method­Body Namespace / IMetadata­Expression Interface / IMetadata­Expression Properties / IMetadata­Expression.​Declaration Property

IMetadataExpression.Declaration Property

Gets the declaration (Type, FieldInfo, MethodInfo, ConstructorInfo).

Namespace:  PostSharp.Reflection.MethodBody
Assembly:  PostSharp (in PostSharp.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
MemberInfo Declaration { get; }

Property Value

Type: MemberInfo
See Also