SyntaxExtensions.IsEmptyOrWhitespace(SyntaxTriviaList) Method
Containing Type: SyntaxExtensions
Assembly: Roslynator.CSharp.dll
Returns true if the list of either empty or contains only whitespace (SyntaxKind.WhitespaceTrivia or SyntaxKind.EndOfLineTrivia).
public static bool IsEmptyOrWhitespace(this Microsoft.CodeAnalysis.SyntaxTriviaList triviaList)
Parameters
triviaList SyntaxTriviaList