8 references to ExcerptResult
Microsoft.CodeAnalysis.Features (3)
CodeLens\CodeLensReferencesService.cs (3)
287
private static (string text, int start, int length) GetReferenceInfo(
ExcerptResult
? reference, ReferenceLocationDescriptor descriptor)
299
private static (string before1, string before2, string after1, string after2) GetReferenceTexts(
ExcerptResult
? reference,
ExcerptResult
? tooltip, ReferenceLocationDescriptor descriptor)
Microsoft.CodeAnalysis.Workspaces (5)
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 (2)
19
/// return <see cref="
ExcerptResult
"/> of given <see cref="Document"/> and <see cref="TextSpan"/>
23
Task<
ExcerptResult
?> TryExcerptAsync(Document document, TextSpan span, ExcerptMode mode, ClassificationOptions classificationOptions, CancellationToken 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);