public static bool AnyDocumentationTrivia(this SyntaxTriviaList syntaxTriviaList) { return(syntaxTriviaList.OfType <SyntaxTrivia>().Any(x => x.IsDocumentationAvailable())); }