45 references to ActiveStatementSpanProvider
Microsoft.CodeAnalysis.EditorFeatures (4)
EditAndContinue\EditAndContinueDiagnosticAnalyzer.cs (1)
82
var
activeStatementSpanProvider = new ActiveStatementSpanProvider(async (documentId, filePath, cancellationToken) =>
EditAndContinue\EditAndContinueLanguageService.cs (3)
281
private
ActiveStatementSpanProvider
GetActiveStatementSpanProvider(Solution solution)
333
var
activeStatementSpanProvider = GetActiveStatementSpanProvider(solution);
353
var
activeStatementSpanProvider = new ActiveStatementSpanProvider((documentId, filePath, cancellationToken) =>
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (10)
EditAndContinue\MockActiveStatementSpanProvider.cs (2)
15
public Func<TextDocument,
ActiveStatementSpanProvider
, ImmutableArray<ActiveStatementSpan>>? GetAdjustedActiveStatementSpansImpl;
20
public ValueTask<ImmutableArray<ActiveStatementSpan>> GetAdjustedActiveStatementSpansAsync(TextDocument document,
ActiveStatementSpanProvider
activeStatementSpanProvider, CancellationToken cancellationToken)
EditAndContinue\MockEditAndContinueWorkspaceService.cs (8)
23
public Func<Solution,
ActiveStatementSpanProvider
, ManagedInstructionId, LinePositionSpan?>? GetCurrentActiveStatementPositionImpl;
25
public Func<TextDocument,
ActiveStatementSpanProvider
, ImmutableArray<ActiveStatementSpan>>? GetAdjustedActiveStatementSpansImpl;
29
public Func<Solution,
ActiveStatementSpanProvider
, EmitSolutionUpdateResults>? EmitSolutionUpdateImpl;
35
public Func<Document,
ActiveStatementSpanProvider
, ImmutableArray<Diagnostic>>? GetDocumentDiagnosticsImpl;
58
public ValueTask<EmitSolutionUpdateResults> EmitSolutionUpdateAsync(DebuggingSessionId sessionId, Solution solution,
ActiveStatementSpanProvider
activeStatementSpanProvider, CancellationToken cancellationToken)
70
public ValueTask<LinePositionSpan?> GetCurrentActiveStatementPositionAsync(DebuggingSessionId sessionId, Solution solution,
ActiveStatementSpanProvider
activeStatementSpanProvider, ManagedInstructionId instructionId, CancellationToken cancellationToken)
73
public ValueTask<ImmutableArray<ActiveStatementSpan>> GetAdjustedActiveStatementSpansAsync(DebuggingSessionId sessionId, TextDocument document,
ActiveStatementSpanProvider
activeStatementSpanProvider, CancellationToken cancellationToken)
76
public ValueTask<ImmutableArray<Diagnostic>> GetDocumentDiagnosticsAsync(Document document,
ActiveStatementSpanProvider
activeStatementSpanProvider, CancellationToken cancellationToken)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (3)
EditAndContinue\EditAndContinueWorkspaceServiceTests.cs (2)
54
private static readonly
ActiveStatementSpanProvider
s_noActiveSpans =
241
ActiveStatementSpanProvider
activeStatementSpanProvider = null)
EditAndContinue\RemoteEditAndContinueServiceTests.cs (1)
132
var
activeStatementSpanProvider = new ActiveStatementSpanProvider((documentId, path, cancellationToken) =>
Microsoft.CodeAnalysis.ExternalAccess.Debugger (1)
GlassTestsHotReloadService.cs (1)
17
private static readonly
ActiveStatementSpanProvider
s_noActiveStatementSpanProvider =
Microsoft.CodeAnalysis.Features (26)
EditAndContinue\DebuggingSession.cs (4)
450
public async ValueTask<ImmutableArray<Diagnostic>> GetDocumentDiagnosticsAsync(Document document,
ActiveStatementSpanProvider
activeStatementSpanProvider, CancellationToken cancellationToken)
525
ActiveStatementSpanProvider
activeStatementSpanProvider,
773
public async ValueTask<ImmutableArray<ActiveStatementSpan>> GetAdjustedActiveStatementSpansAsync(TextDocument mappedDocument,
ActiveStatementSpanProvider
activeStatementSpanProvider, CancellationToken cancellationToken)
851
Solution solution,
ActiveStatementSpanProvider
activeStatementSpanProvider, ManagedInstructionId instructionId, CancellationToken cancellationToken)
EditAndContinue\EditAndContinueDocumentAnalysesCache.cs (3)
41
ActiveStatementSpanProvider
activeStatementSpanProvider,
72
ActiveStatementSpanProvider
activeStatementSpanProvider,
106
private async Task<ImmutableArray<LinePositionSpan>> GetLatestUnmappedActiveStatementSpansAsync(Document? oldDocument, Document newDocument,
ActiveStatementSpanProvider
newActiveStatementSpanProvider, CancellationToken cancellationToken)
EditAndContinue\EditAndContinueWorkspaceService.cs (4)
191
public ValueTask<ImmutableArray<Diagnostic>> GetDocumentDiagnosticsAsync(Document document,
ActiveStatementSpanProvider
activeStatementSpanProvider, CancellationToken cancellationToken)
202
ActiveStatementSpanProvider
activeStatementSpanProvider,
241
public ValueTask<ImmutableArray<ActiveStatementSpan>> GetAdjustedActiveStatementSpansAsync(DebuggingSessionId sessionId, TextDocument mappedDocument,
ActiveStatementSpanProvider
activeStatementSpanProvider, CancellationToken cancellationToken)
252
public ValueTask<LinePositionSpan?> GetCurrentActiveStatementPositionAsync(DebuggingSessionId sessionId, Solution solution,
ActiveStatementSpanProvider
activeStatementSpanProvider, ManagedInstructionId instructionId, CancellationToken cancellationToken)
EditAndContinue\EditSession.cs (2)
507
ActiveStatementSpanProvider
newDocumentActiveStatementSpanProvider,
795
public async ValueTask<SolutionUpdate> EmitSolutionUpdateAsync(Solution solution,
ActiveStatementSpanProvider
solutionActiveStatementSpanProvider, UpdateId updateId, CancellationToken cancellationToken)
EditAndContinue\IActiveStatementSpanProvider.cs (1)
36
ValueTask<ImmutableArray<ActiveStatementSpan>> GetAdjustedActiveStatementSpansAsync(TextDocument document,
ActiveStatementSpanProvider
activeStatementSpanProvider, CancellationToken cancellationToken);
EditAndContinue\IEditAndContinueWorkspaceService.cs (4)
16
ValueTask<ImmutableArray<Diagnostic>> GetDocumentDiagnosticsAsync(Document document,
ActiveStatementSpanProvider
activeStatementSpanProvider, CancellationToken cancellationToken);
17
ValueTask<EmitSolutionUpdateResults> EmitSolutionUpdateAsync(DebuggingSessionId sessionId, Solution solution,
ActiveStatementSpanProvider
activeStatementSpanProvider, CancellationToken cancellationToken);
27
ValueTask<LinePositionSpan?> GetCurrentActiveStatementPositionAsync(DebuggingSessionId sessionId, Solution solution,
ActiveStatementSpanProvider
activeStatementSpanProvider, ManagedInstructionId instructionId, CancellationToken cancellationToken);
30
ValueTask<ImmutableArray<ActiveStatementSpan>> GetAdjustedActiveStatementSpansAsync(DebuggingSessionId sessionId, TextDocument document,
ActiveStatementSpanProvider
activeStatementSpanProvider, CancellationToken cancellationToken);
EditAndContinue\Remote\ActiveStatementSpanProviderCallback.cs (2)
15
private readonly
ActiveStatementSpanProvider
_provider;
17
public ActiveStatementSpanProviderCallback(
ActiveStatementSpanProvider
provider)
EditAndContinue\Remote\RemoteDebuggingSessionProxy.cs (3)
102
ActiveStatementSpanProvider
activeStatementSpanProvider,
210
public async ValueTask<LinePositionSpan?> GetCurrentActiveStatementPositionAsync(Solution solution,
ActiveStatementSpanProvider
activeStatementSpanProvider, ManagedInstructionId instructionId, CancellationToken cancellationToken)
259
public async ValueTask<ImmutableArray<ActiveStatementSpan>> GetAdjustedActiveStatementSpansAsync(TextDocument document,
ActiveStatementSpanProvider
activeStatementSpanProvider, CancellationToken cancellationToken)
EditAndContinue\Remote\RemoteEditAndContinueServiceProxy.cs (1)
172
public async ValueTask<ImmutableArray<Diagnostic>> GetDocumentDiagnosticsAsync(Document document, Document designTimeDocument,
ActiveStatementSpanProvider
activeStatementSpanProvider, CancellationToken cancellationToken)
ExternalAccess\UnitTesting\API\UnitTestingHotReloadService.cs (1)
67
private static readonly
ActiveStatementSpanProvider
s_solutionActiveStatementSpanProvider =
ExternalAccess\Watch\Api\WatchHotReloadService.cs (1)
59
private static readonly
ActiveStatementSpanProvider
s_solutionActiveStatementSpanProvider =
Microsoft.CodeAnalysis.Remote.ServiceHub (1)
Services\EditAndContinue\RemoteEditAndContinueService.cs (1)
79
private
ActiveStatementSpanProvider
CreateActiveStatementSpanProvider(RemoteServiceCallbackId callbackId)