PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Reflection.​Method­Body Namespace / ISequence­Expression Interface / ISequence­Expression Properties

ISequenceExpression Properties

The ISequenceExpression type exposes the following members.

Public propertyExceptionHandlerKind
Gets the kind of exception handler of the current block (Catch, None or Finally), or None if the current block is not an exception handler.
(Inherited from IBlockExpression.)
Public propertyExceptionHandlers
Gets the collection of exception handlers that protect the block, in which the current block is in the try role.
(Inherited from IBlockExpression.)
Public propertyItems
Gets the collection of items in the block.
(Inherited from IBlockExpression.)
Public propertyLabel
Gets a string that uniquely identifies the block (inside the current method body) as a possible branching target.
(Inherited from IBlockExpression.)
Public propertyLocalVariableAssignments
Gets the list of local variables that the current sequence assigns, and the value to which the local variable is assigned when the current sequence is fully executed.
Public propertyLocalVariables
Gets the collection of local variables defined for the current block.
(Inherited from IBlockExpression.)
Public propertyMethodBodyElementKind
Gets the kind of syntax element.
(Inherited from IMethodBodyElement.)
Public propertyParentElement
Gets the parent element in the tree.
(Inherited from IMethodBodyElement.)
Public propertyParentExceptionHandler
Gets the parent exception handler in the current block is in the Catch, Filter or Finally role.
(Inherited from IBlockExpression.)
Public propertyParentMethodBody
Gets the parent method body.
(Inherited from IMethodBodyElement.)
Public propertyPredecessors
Gets the list of sequences that can branch to the current sequence.
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 propertySuccessors
Gets the list of sequences to which the current sequence branch.
See Also