CSharpFacts.IsCommentTrivia(SyntaxKind) Method
Containing Type: CSharpFacts
Assembly: Roslynator.CSharp.dll
Returns true if a syntax of the specified kind is comment trivia.
public static bool IsCommentTrivia(Microsoft.CodeAnalysis.CSharp.SyntaxKind kind)
Parameters
kind SyntaxKind