23 references to SeparatedSyntaxList
Microsoft.CodeAnalysis (8)
Syntax\SeparatedSyntaxList.cs (7)
54: this(new SyntaxNodeOrTokenList(node, index)) 417return new SeparatedSyntaxList<TNode>(nodesWithSeps.InsertRange(insertionIndex, nodesToInsertWithSeparators)); 473return new SeparatedSyntaxList<TNode>(nodesWithSeps); 494return new SeparatedSyntaxList<TNode>(this.GetWithSeparators().Replace(nodeInList, newNode)); 555return new SeparatedSyntaxList<TNode>(nodesWithSeps.Replace(separatorToken, newSeparator)); 600return new SeparatedSyntaxList<SyntaxNode>(nodes._list); 605return 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)
905return MakeQueryInvocation(node, receiver, methodName, new SeparatedSyntaxList<TypeSyntax>(new SyntaxNodeOrTokenList(typeArgSyntax, 0)), ImmutableArray.Create(typeArg), ImmutableArray<BoundExpression>.Empty, diagnostics
Syntax\SyntaxFactory.cs (2)
1344return new SeparatedSyntaxList<TNode>(new SyntaxNodeOrTokenList(node, index: 0)); 1475return 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)));
Microsoft.CodeAnalysis.VisualBasic (1)
Syntax\SyntaxNodeFactories.vb (1)
983Return New SeparatedSyntaxList(Of TNode)(nodesAndTokens)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (5)
TestSyntaxNodes.vb (5)
421Dim handlesClause = SyntaxFactory.HandlesClause(SyntaxFactory.Token(SyntaxKind.HandlesKeyword, trailing:=_spaceTrivia), New SeparatedSyntaxList(Of HandlesClauseItemSyntax)(listBldr.ToList)) 432Dim declarator = SyntaxFactory.VariableDeclarator(New SeparatedSyntaxList(Of ModifiedIdentifierSyntax)(listBldr.ToList), Nothing, Nothing) 605CheckSingletonSeparatedList(New SeparatedSyntaxList(Of TypeSyntax)(New SyntaxNodeOrTokenList(CreateSimpleTypeName("goo"), 0)), 0) 881New SeparatedSyntaxList(Of ParameterSyntax)(bldr.ToList()), 1040New SeparatedSyntaxList(Of ParameterSyntax)(bldr.ToList),