UnwrapBlock(IStatement)
Unwraps a block (i.e. remove its braces), if the statement is a block, and returns the resulting IStatementList.
Declaration
public static IStatementList UnwrapBlock(this IStatement statement)
Parameters
Type | Name | Description |
---|---|---|
IStatement | statement |
Returns
Type | Description |
---|---|
IStatementList |