19 references to SeparatedSyntaxList
Microsoft.CodeAnalysis (10)
Syntax\SeparatedSyntaxList.cs (9)
26return new SeparatedSyntaxList<TNode>(new SyntaxNodeOrTokenList(nodes[0], index: 0)); 84: this(new SyntaxNodeOrTokenList(node, index)) 447return new SeparatedSyntaxList<TNode>(nodesWithSeps.InsertRange(insertionIndex, nodesToInsertWithSeparators)); 503return new SeparatedSyntaxList<TNode>(nodesWithSeps); 524return new SeparatedSyntaxList<TNode>(this.GetWithSeparators().Replace(nodeInList, newNode)); 585return new SeparatedSyntaxList<TNode>(nodesWithSeps.Replace(separatorToken, newSeparator)); 630return new SeparatedSyntaxList<SyntaxNode>(nodes._list); 637return new SeparatedSyntaxList<TNode>(nodes._list); 642return new SeparatedSyntaxList<TNode>(nodes._list);
Syntax\SyntaxListBuilderExtensions.cs (1)
50return new SeparatedSyntaxList<TNode>(new SyntaxNodeOrTokenList(listNode.CreateRed(), 0));
Microsoft.CodeAnalysis.CSharp (3)
Binder\Binder_Query.cs (1)
906return MakeQueryInvocation(node, receiver, methodName, new SeparatedSyntaxList<TypeSyntax>(new SyntaxNodeOrTokenList(typeArgSyntax, 0)), ImmutableArray.Create(typeArg), ImmutableArray<BoundExpression>.Empty, diagnostics
Syntax\SyntaxFactory.cs (2)
1345return new SeparatedSyntaxList<TNode>(new SyntaxNodeOrTokenList(node, index: 0)); 1476return new SeparatedSyntaxList<TNode>(nodesAndTokens);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (6)
Syntax\SeparatedSyntaxListTests.cs (6)
28new SeparatedSyntaxList<CSharpSyntaxNode>(new SyntaxNodeOrTokenList(node1, 0)), 29new SeparatedSyntaxList<CSharpSyntaxNode>(new SyntaxNodeOrTokenList(node1, 0))); 32new SeparatedSyntaxList<CSharpSyntaxNode>(new SyntaxNodeOrTokenList(node1, 0)), 33new SeparatedSyntaxList<CSharpSyntaxNode>(new SyntaxNodeOrTokenList(node1, 1))); 36new SeparatedSyntaxList<CSharpSyntaxNode>(new SyntaxNodeOrTokenList(node1, 0)), 37new SeparatedSyntaxList<CSharpSyntaxNode>(new SyntaxNodeOrTokenList(node2, 0)));