12 references to SyntaxNodeOrTokenList
Microsoft.CodeAnalysis (12)
Syntax\SeparatedSyntaxList.cs (2)
25return new SeparatedSyntaxList<TNode>(new SyntaxNodeOrTokenList(nodes[0], index: 0)); 83: this(new SyntaxNodeOrTokenList(node, index))
Syntax\SyntaxListBuilderExtensions.cs (1)
50return new SeparatedSyntaxList<TNode>(new SyntaxNodeOrTokenList(listNode.CreateRed(), 0));
Syntax\SyntaxNodeOrTokenList.cs (4)
55: this(CreateNode(nodesAndTokens), 0) 64: this(CreateNodeFromSpan(nodesAndTokens), 0) 73return new SyntaxNodeOrTokenList(CreateNodeFromSpan(nodesAndTokens), index: 0); 361return new SyntaxNodeOrTokenList(newGreen.CreateRed(), 0);
Syntax\SyntaxNodeOrTokenListBuilder.cs (5)
139return new SyntaxNodeOrTokenList( 145return new SyntaxNodeOrTokenList(_nodes[0]!.CreateRed(), index: 0); 148return new SyntaxNodeOrTokenList( 152return new SyntaxNodeOrTokenList( 162return new SyntaxNodeOrTokenList(InternalSyntax.SyntaxList.List(tmp).CreateRed(), index: 0);