IExpression Interface |
Represents an expression or an instruction.
Namespace: PostSharp.Reflection.Syntax
Assembly: PostSharp (in PostSharp.dll) Version: 4.3.48.0 (4.3.48.0)
C#
public interface IExpression : ISyntaxElement
The IExpression type exposes the following members.
Name | Description | |
---|---|---|
ParentElement |
Gets the parent element in the tree.
(Inherited from ISyntaxElement.) | |
ParentMethodBody |
Gets the parent method body.
(Inherited from ISyntaxElement.) | |
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).
| |
SyntaxElementKind |
Gets the kind of syntax element.
(Inherited from ISyntaxElement.) |