示例#1
0
 public IfStatement Else(params Statement[] body)
 {
     Contract.RequiresNotNullItems(body, "body");
     return(Else(Ast.Block(body)));
 }
示例#2
0
 public IfStatementBuilder ElseIf(Expression test, params Statement[] body)
 {
     Contract.RequiresNotNullItems(body, "body");
     return(ElseIf(SourceSpan.None, test, SourceLocation.None, Ast.Block(body)));
 }