Skip to main content

SyntaxExtensions.GetDocumentationComment(MemberDeclarationSyntax) Method

Containing Type: SyntaxExtensions

Assembly: Roslynator.CSharp.dll

Returns documentation comment syntax that is part of the specified declaration.

public static Microsoft.CodeAnalysis.CSharp.Syntax.DocumentationCommentTriviaSyntax? GetDocumentationComment(this Microsoft.CodeAnalysis.CSharp.Syntax.MemberDeclarationSyntax member)

Parameters

member MemberDeclarationSyntax

Returns

DocumentationCommentTriviaSyntax