2 implementations of MapSpansAsync
Microsoft.CodeAnalysis.ExternalAccess.Razor.Features (1)
RazorSourceGeneratedDocumentSpanMappingServiceWrapper.cs (1)
63public async Task<ImmutableArray<MappedSpanResult>> MapSpansAsync(SourceGeneratedDocument document, ImmutableArray<TextSpan> spans, CancellationToken cancellationToken)
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (1)
TestSourceGeneratedDocumentSpanMappingService.cs (1)
36public Task<ImmutableArray<MappedSpanResult>> MapSpansAsync(SourceGeneratedDocument document, ImmutableArray<TextSpan> spans, CancellationToken cancellationToken)
1 reference to MapSpansAsync
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Host\DocumentService\SpanMappingHelper.cs (1)
30var result = await sourceGeneratedSpanMappingService.MapSpansAsync(sourceGeneratedDocument, textSpans, cancellationToken).ConfigureAwait(false);