SyntaxExtensions.GetSingleLineDocumentationComment(MemberDeclarationSyntax) Method
Containing Type: SyntaxExtensions
Assembly: Roslynator.CSharp.dll
Returns single-line documentation comment syntax that is part of the specified declaration.
public static Microsoft.CodeAnalysis.CSharp.Syntax.DocumentationCommentTriviaSyntax? GetSingleLineDocumentationComment(this Microsoft.CodeAnalysis.CSharp.Syntax.MemberDeclarationSyntax member)
Parameters
member MemberDeclarationSyntax