PostSharp4.3/API Reference/Post­Sharp.​Reflection.​Syntax Namespace/IStatement­Expression Interface
IStatementExpression Interface
Represents a statement. A statement is the root of an expression tree.

Namespace: PostSharp.Reflection.Syntax
Assembly: PostSharp (in PostSharp.dll) Version: 4.3.48.0 (4.3.48.0)
Syntax
C#
public interface IStatementExpression : IExpression, 
	ISyntaxElement

The IStatementExpression type exposes the following members.

Properties
  NameDescription
Public propertyExpression
Expression evaluated by the statement.
Public propertyNextSibling
Gets a next sibling of the current expression within IBlockExpression.
Public propertyParentElement
Gets the parent element in the tree.
(Inherited from ISyntaxElement.)
Public propertyParentMethodBody
Gets the parent method body.
(Inherited from ISyntaxElement.)
Public propertyPreviousSibling
Gets a previous sibling of the current expression within IBlockExpression.
Public propertyReturnType
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).
(Inherited from IExpression.)
Public propertySyntaxElementKind
Gets the kind of syntax element.
(Inherited from ISyntaxElement.)
See Also