Skip to main content

SyntaxExtensions.HasSingleLineDocumentationComment(MemberDeclarationSyntax) Method

Containing Type: SyntaxExtensions

Assembly: Roslynator.CSharp.dll

Returns true if the specified declaration has a single-line documentation comment.

public static bool HasSingleLineDocumentationComment(this Microsoft.CodeAnalysis.CSharp.Syntax.MemberDeclarationSyntax member)

Parameters

member MemberDeclarationSyntax

Returns

Boolean