3 instantiations of DocumentationCommentSnippet
Microsoft.CodeAnalysis.Features (3)
DocumentationComments\AbstractDocumentationCommentSnippetService.cs (3)
81
return new
DocumentationCommentSnippet
(replaceSpan, comments, caretOffset);
286
return new
DocumentationCommentSnippet
(replaceSpan, newText, offset);
323
return new
DocumentationCommentSnippet
(replaceSpan, comments, offset);
12 references to DocumentationCommentSnippet
Microsoft.CodeAnalysis.EditorFeatures (1)
DocumentationComments\AbstractDocumentationCommentCommandHandler.cs (1)
336
var
snippet = service.GetDocumentationCommentSnippetFromPreviousLine(options, currentLine, previousLine);
Microsoft.CodeAnalysis.Features (11)
DocumentationComments\AbstractDocumentationCommentSnippetService.cs (7)
41
public
DocumentationCommentSnippet
? GetDocumentationCommentSnippetOnCharacterTyped(
229
public
DocumentationCommentSnippet
? GetDocumentationCommentSnippetOnEnterTyped(SyntaxTree syntaxTree, SourceText text, int position, in DocumentationCommentOptions options, CancellationToken cancellationToken)
237
var
result = GenerateDocumentationCommentAfterEnter(syntaxTree, text, position, options, cancellationToken);
247
private
DocumentationCommentSnippet
? GenerateDocumentationCommentAfterEnter(SyntaxTree syntaxTree, SourceText text, int position, in DocumentationCommentOptions options, CancellationToken cancellationToken)
289
public
DocumentationCommentSnippet
? GetDocumentationCommentSnippetOnCommandInvoke(SyntaxTree syntaxTree, SourceText text, int position, in DocumentationCommentOptions options, CancellationToken cancellationToken)
326
private
DocumentationCommentSnippet
? GenerateExteriorTriviaAfterEnter(SyntaxTree syntaxTree, SourceText text, int position, in DocumentationCommentOptions options, CancellationToken cancellationToken)
383
public
DocumentationCommentSnippet
GetDocumentationCommentSnippetFromPreviousLine(in DocumentationCommentOptions options, TextLine currentLine, TextLine previousLine)
DocumentationComments\IDocumentationCommentSnippetService.cs (4)
18
DocumentationCommentSnippet
? GetDocumentationCommentSnippetOnCharacterTyped(
26
DocumentationCommentSnippet
? GetDocumentationCommentSnippetOnCommandInvoke(
33
DocumentationCommentSnippet
? GetDocumentationCommentSnippetOnEnterTyped(
40
DocumentationCommentSnippet
? GetDocumentationCommentSnippetFromPreviousLine(