IBlockExpression Properties |
The IBlockExpression type exposes the following members.
Name | Description | |
---|---|---|
ExceptionHandlerKind | ||
ExceptionHandlers |
Gets the collection of exception handlers that protect the block, in which the current block is in the try role.
| |
Items |
Gets the collection of items in the block.
| |
Label |
Gets a string that uniquely identifies the block (inside the current method body) as a possible branching target.
| |
LocalVariables |
Gets the collection of local variables defined for the current block.
| |
MethodBodyElementKind |
Gets the kind of syntax element.
(Inherited from IMethodBodyElement.) | |
ParentElement |
Gets the parent element in the tree.
(Inherited from IMethodBodyElement.) | |
ParentExceptionHandler | ||
ParentMethodBody |
Gets the parent method body.
(Inherited from IMethodBodyElement.) | |
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).
(Inherited from IExpression.) |