3 references to triviaContainsMatch
Microsoft.CodeAnalysis (3)
Syntax\SyntaxNode.cs (3)
474
if (
triviaContainsMatch
(current.GetLeadingTriviaCore(), rawKind))
479
Debug.Assert(!
triviaContainsMatch
(current.GetLeadingTriviaCore(), rawKind), "Should not have a match if the token doesn't even have leading trivia");
482
Debug.Assert(!
triviaContainsMatch
(current.GetTrailingTriviaCore(), rawKind), "Should never have a match in trailing trivia");