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

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