public static SyntaxList <SyntaxNode> ToList(this SyntaxListBuilder builder)
        {
            if (builder == null || builder.Count == 0)
            {
                return(default(SyntaxList <SyntaxNode>));
            }

            return(new SyntaxList <SyntaxNode>(builder.ToListNode().CreateRed()));
        }
        public static SyntaxList <TNode> ToList <TNode>(this SyntaxListBuilder builder)
            where TNode : SyntaxNode
        {
            if (builder == null || builder.Count == 0)
            {
                return(new SyntaxList <TNode>());
            }

            return(new SyntaxList <TNode>(builder.ToListNode().CreateRed()));
        }