Open sandboxFocus

Interface IMetadataExpression

Expression that depends on a metadata declaration. This expression is used when compiling the typeof, sizeof or default keywords of C#, among others.

Namespace: PostSharp.Reflection.MethodBody
Assembly: PostSharp.dll
Syntax
public interface IMetadataExpression : IExpression, IMethodBodyElement

Properties

Name Description
Declaration

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