5 references to TryGetMappedSpanResultAsync
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 (3)
CodeLens\RemoteCodeLensReferencesService.cs (1)
154
var results = await SpanMappingHelper.
TryGetMappedSpanResultAsync
(document, [span], cancellationToken).ConfigureAwait(false);
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);