7 references to GetLeadingTriviaCore
Microsoft.CodeAnalysis (7)
Syntax\InternalSyntax\SyntaxDiagnosticInfoList.cs (1)
129var leading = token.GetLeadingTriviaCore();
Syntax\SyntaxNode.cs (2)
474if (triviaContainsMatch(current.GetLeadingTriviaCore(), rawKind)) 479Debug.Assert(!triviaContainsMatch(current.GetLeadingTriviaCore(), rawKind), "Should not have a match if the token doesn't even have leading trivia");
Syntax\SyntaxToken.cs (2)
410? new SyntaxTriviaList(this, Node.GetLeadingTriviaCore(), this.Position) 428var leading = Node.GetLeadingTriviaCore();
Syntax\SyntaxTriviaList.Enumerator.cs (2)
58var node = token.Node.GetLeadingTriviaCore(); 69var leading = token.Node.GetLeadingTriviaCore();