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