8 references to ExcerptMode
Microsoft.CodeAnalysis.Features (2)
CodeLens\CodeLensReferencesService.cs (2)
260
var referenceExcerpt = await DocumentExcerptHelper.TryExcerptAsync(document, span,
ExcerptMode
.SingleLine, classificationOptions, cancellationToken).ConfigureAwait(false);
261
var tooltipExcerpt = await DocumentExcerptHelper.TryExcerptAsync(document, span,
ExcerptMode
.Tooltip, classificationOptions, cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.Workspaces (6)
Workspace\Host\DocumentService\DocumentExcerptHelper.cs (1)
26
public static async Task<ExcerptResult?> TryExcerptAsync(Document document, TextSpan span,
ExcerptMode
mode, ClassificationOptions classificationOptions, CancellationToken cancellationToken)
Workspace\Host\DocumentService\IDocumentExcerptService.cs (3)
23
Task<ExcerptResult?> TryExcerptAsync(Document document, TextSpan span,
ExcerptMode
mode, ClassificationOptions classificationOptions, CancellationToken cancellationToken);
58
/// should be same document in <see cref="IDocumentExcerptService.TryExcerptAsync(Document, TextSpan,
ExcerptMode
, ClassificationOptions, CancellationToken)" />
65
/// should be same text span in <see cref="IDocumentExcerptService.TryExcerptAsync(Document, TextSpan,
ExcerptMode
, ClassificationOptions, CancellationToken)" />
Workspace\Host\DocumentService\IRazorSourceGeneratedDocumentExcerptService.cs (1)
14
Task<ExcerptResult?> TryExcerptAsync(SourceGeneratedDocument document, TextSpan span,
ExcerptMode
mode, ClassificationOptions classificationOptions, CancellationToken cancellationToken);
Workspace\Host\DocumentService\ISourceGeneratedDocumentExcerptService.cs (1)
16
Task<ExcerptResult?> TryExcerptAsync(SourceGeneratedDocument document, TextSpan span,
ExcerptMode
mode, ClassificationOptions classificationOptions, CancellationToken cancellationToken);