public void CSharpCodeGenerator_NextLoopIteration()
        {
            var statement = new GotoNextLoopIterationStatement();
            var generator = new CSharpCodeGenerator();
            var result    = generator.Write(statement);

            Assert.That.StringEquals(@"continue;
", result);
        }
Ejemplo n.º 2
0
 public virtual void VisitGotoNextLoopIterationStatement(GotoNextLoopIterationStatement gotoNextLoopIterationStatement)
 {
     VisitStatement(gotoNextLoopIterationStatement);
 }
Ejemplo n.º 3
0
 protected virtual void Write(IndentedTextWriter writer, GotoNextLoopIterationStatement statement, WriteStatementOptions options)
 {
     writer.WriteLine("continue;");
 }