public ISwitchStatementCase AddNew() { ISwitchStatementCase @case = new SwitchStatementCase(this.sourceBlock); this.baseList.Add(@case); return(@case); }
public ISwitchStatementCase AddNew(bool lastIsDefaultCase, IExpressionCollection caseTargets) { ISwitchStatementCase @case = new SwitchStatementCase(this.sourceBlock, caseTargets, lastIsDefaultCase); this.baseList.Add(@case); return(@case); }
public ISwitchStatementCase AddNew(IExpression caseTarget) { ISwitchStatementCase @case = new SwitchStatementCase(this.sourceBlock, caseTarget); this.baseList.Add(@case); return(@case); }