Skip to main content

SyntaxExtensions.GetSingleLineDocumentationCommentTrivia(MemberDeclarationSyntax) Method

Containing Type: SyntaxExtensions

Assembly: Roslynator.CSharp.dll

Returns single-line documentation comment that is part of the specified declaration.

public static Microsoft.CodeAnalysis.SyntaxTrivia GetSingleLineDocumentationCommentTrivia(this Microsoft.CodeAnalysis.CSharp.Syntax.MemberDeclarationSyntax member)

Parameters

member MemberDeclarationSyntax

Returns

SyntaxTrivia