15 references to SyntaxList
Microsoft.CodeAnalysis (1)
Syntax\SyntaxList`1.cs (1)
50
[CollectionBuilder(typeof(
SyntaxList
), methodName: "Create")]
Microsoft.CodeAnalysis.CSharp (14)
Parser\DirectiveParser.cs (1)
158
eod = eod.TokenWithLeadingTrivia(
SyntaxList
.Concat(SyntaxFactory.DisabledText(expr.ToFullString()), eod.GetLeadingTrivia()));
Parser\LanguageParser.cs (2)
4714
identifier = AddTrailingSkippedSyntax(identifier,
SyntaxList
.List(
8692
? new SyntaxList<StatementSyntax>(
SyntaxList
.List(((SyntaxListBuilder)statements).ToArray()))
Parser\SyntaxParser.cs (2)
1008
target = target.TokenWithTrailingTrivia(
SyntaxList
.Concat(trailingTrivia, trivia));
1025
target = target.TokenWithLeadingTrivia(
SyntaxList
.Concat(trivia, leadingTrivia));
Syntax\InternalSyntax\SyntaxFactory.cs (9)
264
return new SyntaxList<TNode>(
SyntaxList
.List(node));
269
return new SyntaxList<TNode>(
SyntaxList
.List(node0, node1));
274
return
SyntaxList
.List(node0, node1);
279
return new SyntaxList<TNode>(
SyntaxList
.List(node0, node1, node2));
284
return
SyntaxList
.List(node0, node1, node2);
291
return new SyntaxList<TNode>(
SyntaxList
.List(nodes));
299
return
SyntaxList
.List(nodes);
314
return new SeparatedSyntaxList<TNode>(new SyntaxList<CSharpSyntaxNode>(
SyntaxList
.List(node1, token, node2)));
321
return new SeparatedSyntaxList<TNode>(
SyntaxList
.List(nodes));