Skip to main content

SyntaxExtensions.GetDocumentationCommentTrivia(MemberDeclarationSyntax) Method

Containing Type: SyntaxExtensions

Assembly: Roslynator.CSharp.dll

Returns documentation comment that is part of the specified declaration.

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

Parameters

member MemberDeclarationSyntax

Returns

SyntaxTrivia