8 references to SpanMappingHelper
Microsoft.CodeAnalysis.Features (2)
CodeLens\CodeLensReferencesService.cs (2)
227
if (!
SpanMappingHelper
.CanMapSpans(document))
234
var results = await
SpanMappingHelper
.TryGetMappedSpanResultAsync(document, [span], cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.LanguageServer.Protocol (3)
Extensions\ProtocolConversions.cs (3)
434
var mappedResults = await
SpanMappingHelper
.TryGetMappedSpanResultAsync(oldDocument, [.. textChanges.Select(tc => tc.Span)], cancellationToken).ConfigureAwait(false);
490
SpanMappingHelper
.CanMapSpans(d))
492
var result = await
SpanMappingHelper
.TryGetMappedSpanResultAsync(d, [textSpan], cancellationToken).ConfigureAwait(false);
Microsoft.VisualStudio.LanguageServices (3)
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);