5 references to TryGetMappedSpanResultAsync
Microsoft.CodeAnalysis.Features (1)
CodeLens\CodeLensReferencesService.cs (1)
227
var results = await SpanMappingHelper.
TryGetMappedSpanResultAsync
(document, [span], cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Extensions\ProtocolConversions.cs (2)
420
var mappedResults = await SpanMappingHelper.
TryGetMappedSpanResultAsync
(oldDocument, [.. textChanges.Select(tc => tc.Span)], cancellationToken).ConfigureAwait(false);
476
? await SpanMappingHelper.
TryGetMappedSpanResultAsync
(d, [textSpan], cancellationToken).ConfigureAwait(false)
Microsoft.VisualStudio.LanguageServices (2)
FindReferences\Entries\AbstractDocumentSpanEntry.cs (1)
83
var results = await SpanMappingHelper.
TryGetMappedSpanResultAsync
(documentSpan.Document, [documentSpan.SourceSpan], cancellationToken).ConfigureAwait(false);
Workspace\VisualStudioDocumentNavigationService.cs (1)
317
var results = await SpanMappingHelper.
TryGetMappedSpanResultAsync
(generatedDocument, [textSpan], cancellationToken).ConfigureAwait(false);