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

Property Value

Type: MemberInfo
See Also