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