SyntaxExtensions.IsWhitespaceOrEndOfLineTrivia(SyntaxTrivia) Method
Containing Type: SyntaxExtensions
Assembly: Roslynator.CSharp.dll
Returns true if the trivia is either SyntaxKind.WhitespaceTrivia or SyntaxKind.EndOfLineTrivia.
public static bool IsWhitespaceOrEndOfLineTrivia(this Microsoft.CodeAnalysis.SyntaxTrivia trivia)
Parameters
trivia SyntaxTrivia