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)
158eod = eod.TokenWithLeadingTrivia(SyntaxList.Concat(SyntaxFactory.DisabledText(expr.ToFullString()), eod.GetLeadingTrivia()));
Parser\LanguageParser.cs (2)
4696identifier = AddTrailingSkippedSyntax(identifier, SyntaxList.List( 8674? new SyntaxList<StatementSyntax>(SyntaxList.List(((SyntaxListBuilder)statements).ToArray()))
Parser\SyntaxParser.cs (2)
1008target = target.TokenWithTrailingTrivia(SyntaxList.Concat(trailingTrivia, trivia)); 1025target = target.TokenWithLeadingTrivia(SyntaxList.Concat(trivia, leadingTrivia));
Syntax\InternalSyntax\SyntaxFactory.cs (9)
264return new SyntaxList<TNode>(SyntaxList.List(node)); 269return new SyntaxList<TNode>(SyntaxList.List(node0, node1)); 274return SyntaxList.List(node0, node1); 279return new SyntaxList<TNode>(SyntaxList.List(node0, node1, node2)); 284return SyntaxList.List(node0, node1, node2); 291return new SyntaxList<TNode>(SyntaxList.List(nodes)); 299return SyntaxList.List(nodes); 314return new SeparatedSyntaxList<TNode>(new SyntaxList<CSharpSyntaxNode>(SyntaxList.List(node1, token, node2))); 321return new SeparatedSyntaxList<TNode>(SyntaxList.List(nodes));