6 references to SpanMappingHelper
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 (4)
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 (2)
200
SpanMappingHelper
.CanMapSpans(document))
317
var results = await
SpanMappingHelper
.TryGetMappedSpanResultAsync(generatedDocument, [textSpan], cancellationToken).ConfigureAwait(false);