11 references to SyntaxTriviaList
Microsoft.CodeAnalysis (11)
Syntax\SyntaxToken.cs (2)
410
? new
SyntaxTriviaList
(this, Node.GetLeadingTriviaCore(), this.Position)
442
return new
SyntaxTriviaList
(this,
Syntax\SyntaxTriviaList.cs (5)
57
:
this
(default, CreateNodeFromSpan(trivias), 0, 0)
66
:
this
(default, SyntaxTriviaListBuilder.Create(trivias).Node, 0, 0)
75
return new
SyntaxTriviaList
(token: default, CreateNodeFromSpan(trivias), position: 0, index: 0);
372
return new
SyntaxTriviaList
(default(SyntaxToken), GreenNode.CreateList(list, static n => n.RequiredUnderlyingNode), 0, 0);
418
return new
SyntaxTriviaList
(default(SyntaxToken), GreenNode.CreateList(list, static n => n.RequiredUnderlyingNode), 0, 0);
Syntax\SyntaxTriviaListBuilder.cs (4)
140
return new
SyntaxTriviaList
(default(SyntaxToken), _nodes[0].UnderlyingNode, position: 0, index: 0);
142
return new
SyntaxTriviaList
(default(SyntaxToken),
147
return new
SyntaxTriviaList
(default(SyntaxToken),
161
return new
SyntaxTriviaList
(default(SyntaxToken),