|
|
@ -150,7 +150,12 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax |
|
|
|
{ |
|
|
|
{ |
|
|
|
AddChild(statement, StatementRole); |
|
|
|
AddChild(statement, StatementRole); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void Add(Expression expression) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
AddChild(new ExpressionStatement(expression), StatementRole); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
IEnumerator<Statement> IEnumerable<Statement>.GetEnumerator() |
|
|
|
IEnumerator<Statement> IEnumerable<Statement>.GetEnumerator() |
|
|
|
{ |
|
|
|
{ |
|
|
|
return this.Statements.GetEnumerator(); |
|
|
|
return this.Statements.GetEnumerator(); |
|
|
|