PostSharpAPI ReferencePost­Sharp.​Reflection.​Method­BodyIExpression
Open sandboxFocus

IExpression Interface

Represents an expression or an instruction.

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

Properties

Name Description
ReturnType

Gets the type of the return value of the current expression, or Void if the expression does not return anything (i.e. for pure instructions, for instance a goto or throw instruction).