public override SyntaxList <StatementSyntax> VisitSyncLockBlock(VBSyntax.SyncLockBlockSyntax node)
 {
     return(SingleStatement(SyntaxFactory.LockStatement(
                                (ExpressionSyntax)node.SyncLockStatement.Expression.Accept(_nodesVisitor),
                                SyntaxFactory.Block(node.Statements.SelectMany(s => s.Accept(CommentConvertingVisitor))).UnpackNonNestedBlock()
                                )));
 }
 public override SyntaxList <StatementSyntax> VisitSyncLockBlock(VBSyntax.SyncLockBlockSyntax node)
 {
     return(SingleStatement(SyntaxFactory.LockStatement(
                                (ExpressionSyntax)node.SyncLockStatement.Expression.Accept(nodesVisitor),
                                SyntaxFactory.Block(node.Statements.SelectMany(s => s.Accept(this)))
                                )));
 }
 public override SyntaxList <StatementSyntax> VisitSyncLockBlock(VBSyntax.SyncLockBlockSyntax node) => AddLocalVariables(node);