2 implementations of MapSpansAsync
Microsoft.CodeAnalysis.ExternalAccess.Razor.Features (1)
RazorSourceGeneratedDocumentSpanMappingServiceWrapper.cs (1)
63
public async Task<ImmutableArray<MappedSpanResult>>
MapSpansAsync
(SourceGeneratedDocument document, ImmutableArray<TextSpan> spans, CancellationToken cancellationToken)
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (1)
TestSourceGeneratedDocumentSpanMappingService.cs (1)
36
public 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)
30
var result = await sourceGeneratedSpanMappingService.
MapSpansAsync
(sourceGeneratedDocument, textSpans, cancellationToken).ConfigureAwait(false);