15 references to ManagedActiveStatementDebugInfo
Microsoft.CodeAnalysis.Features (15)
Contracts\EditAndContinue\IManagedHotReloadService.cs (3)
25
/// Returns all the active statements in the session. Each <see cref="
ManagedActiveStatementDebugInfo
"/> has an unique <see cref="
ManagedActiveStatementDebugInfo
.ActiveInstruction"/>.
28
ValueTask<ImmutableArray<
ManagedActiveStatementDebugInfo
>> GetActiveStatementsAsync(CancellationToken cancellation);
EditAndContinue\ActiveStatementsMap.cs (7)
28
private static readonly Comparer<(
ManagedActiveStatementDebugInfo
, SourceFileSpan, ActiveStatementId)> s_infoSpanComparer =
29
Comparer<(
ManagedActiveStatementDebugInfo
, SourceFileSpan span, ActiveStatementId)>.Create((x, y) => x.span.Start.CompareTo(y.span.Start));
60
ImmutableArray<
ManagedActiveStatementDebugInfo
> debugInfos,
63
using var _1 = PooledDictionary<string, ArrayBuilder<(
ManagedActiveStatementDebugInfo
info, SourceFileSpan span, ActiveStatementId id)>>.GetInstance(out var updatedSpansByDocumentPath);
66
foreach (
var
debugInfo in debugInfos)
82
updatedSpansByDocumentPath.Add(documentName, documentInfos = ArrayBuilder<(
ManagedActiveStatementDebugInfo
, SourceFileSpan, ActiveStatementId)>.GetInstance());
127
private static bool TryGetUpToDateSpan(
ManagedActiveStatementDebugInfo
activeStatementInfo, ImmutableDictionary<ManagedMethodId, ImmutableArray<NonRemappableRegion>> remapping, out LinePositionSpan newSpan)
EditAndContinue\Remote\IRemoteEditAndContinueService.cs (1)
20
ValueTask<ImmutableArray<
ManagedActiveStatementDebugInfo
>> GetActiveStatementsAsync(RemoteServiceCallbackId callbackId, CancellationToken cancellationToken);
EditAndContinue\Remote\RemoteEditAndContinueServiceProxy.cs (2)
38
public ValueTask<ImmutableArray<
ManagedActiveStatementDebugInfo
>> GetActiveStatementsAsync(RemoteServiceCallbackId callbackId, CancellationToken cancellationToken)
68
public async ValueTask<ImmutableArray<
ManagedActiveStatementDebugInfo
>> GetActiveStatementsAsync(CancellationToken cancellationToken)
ExternalAccess\UnitTesting\API\UnitTestingHotReloadService.cs (2)
22
public ValueTask<ImmutableArray<
ManagedActiveStatementDebugInfo
>> GetActiveStatementsAsync(CancellationToken cancellationToken)
23
=> ValueTaskFactory.FromResult(ImmutableArray<
ManagedActiveStatementDebugInfo
>.Empty);