2 implementations of GetSpansAsync
Microsoft.CodeAnalysis.EditorFeatures (2)
EditAndContinue\ActiveStatementTrackingService.cs (2)
55
public ValueTask<ImmutableArray<ActiveStatementSpan>>
GetSpansAsync
(Solution solution, DocumentId? documentId, string filePath, CancellationToken cancellationToken)
93
public ValueTask<ImmutableArray<ActiveStatementSpan>>
GetSpansAsync
(Solution solution, DocumentId? documentId, string filePath, CancellationToken cancellationToken)
3 references to GetSpansAsync
Microsoft.CodeAnalysis.EditorFeatures (2)
EditAndContinue\ActiveStatementTrackingService.cs (1)
56
=> solution.Services.GetRequiredService<IActiveStatementTrackingService>().
GetSpansAsync
(solution, documentId, filePath, cancellationToken);
EditAndContinue\EditAndContinueLanguageService.cs (1)
321
return new((documentId, filePath, cancellationToken) => service.
GetSpansAsync
(solution, documentId, filePath, cancellationToken));
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Features\EditAndContinue\EditAndContinueDiagnosticSource_OpenDocument.cs (1)
54
? new ActiveStatementSpanProvider((documentId, filePath, cancellationToken) => spanLocator.
GetSpansAsync
(compileTimeSolution, documentId, filePath, cancellationToken))