public override void VisitBreak(BreakExpression breakExpr) { ilGenerator.Emit(OpCodes.Leave, currentLoop.EndLabel); }
public override void VisitBreak(BreakExpression breakExpr) { if (currentLoop == null) { report.Error(breakExpr.Location, "`break!', `while!', `until!' calls " + "must appear inside loops"); return; } breakExpr.NodeType = typeManager.VoidType; }
public virtual void VisitBreak(BreakExpression breakExpr) { }