private VB.StatementSyntax VisitContinueStatementWorker(CS.ContinueStatementSyntax node)
            {
                foreach (var parent in node.GetAncestorsOrThis <CS.SyntaxNode>())
                {
                    if (parent.IsContinuableConstruct())
                    {
                        switch (parent.Kind)
                        {
                        case CS.SyntaxKind.DoStatement:
                            return(VB.Syntax.ContinueDoStatement());

                        case CS.SyntaxKind.WhileStatement:
                            return(VB.Syntax.ContinueWhileStatement());

                        case CS.SyntaxKind.ForStatement:
                        case CS.SyntaxKind.ForEachStatement:
                            return(VB.Syntax.ContinueForStatement());
                        }
                    }
                }

                return(CreateBadStatement(node, nodeVisitor));
            }
 public override VB.SeparatedSyntaxList <VB.StatementSyntax> VisitContinueStatement(CS.ContinueStatementSyntax node)
 {
     return(SeparatedList(VisitContinueStatementWorker(node)));
 }