8 references to GetTrailingTriviaWidth
Microsoft.CodeAnalysis.CSharp (8)
Parser\DirectiveParser.cs (1)
396
(line.IsMissing || line.
GetTrailingTriviaWidth
() > 0 || this.CurrentToken.GetLeadingTriviaWidth() > 0)) //require separation between line number and file name
Parser\DocumentationCommentParser.cs (6)
207
if (lessThan.
GetTrailingTriviaWidth
() > 0 || name.GetLeadingTriviaWidth() > 0)
246
if (lessThanSlash.
GetTrailingTriviaWidth
() > 0 || endName.GetLeadingTriviaWidth() > 0)
689
int prefixTrailingWidth = id.
GetTrailingTriviaWidth
();
703
int colonTrailingWidth = colon.
GetTrailingTriviaWidth
();
1015
if (operatorToken.Kind == SyntaxKind.GreaterThanToken && operatorToken.
GetTrailingTriviaWidth
() == 0 && CurrentToken.GetLeadingTriviaWidth() == 0)
1021
if (operatorToken2.
GetTrailingTriviaWidth
() == 0 && CurrentToken.GetLeadingTriviaWidth() == 0 &&
Parser\LanguageParser.cs (1)
4711
=> token1.
GetTrailingTriviaWidth
() == 0 && token2.GetLeadingTriviaWidth() == 0;