Skip to main content

MemberDeclarationSyntax Class Extensions

Extension MethodSummary
GetDocumentationComment(MemberDeclarationSyntax)Returns documentation comment syntax that is part of the specified declaration.
GetDocumentationCommentTrivia(MemberDeclarationSyntax)Returns documentation comment that is part of the specified declaration.
GetSingleLineDocumentationComment(MemberDeclarationSyntax)Returns single-line documentation comment syntax that is part of the specified declaration.
GetSingleLineDocumentationCommentTrivia(MemberDeclarationSyntax)Returns single-line documentation comment that is part of the specified declaration.
HasDocumentationComment(MemberDeclarationSyntax)Returns true if the specified declaration has a documentation comment.
HasSingleLineDocumentationComment(MemberDeclarationSyntax)Returns true if the specified declaration has a single-line documentation comment.