13 references to ActiveStatementTrackingSpan
Microsoft.CodeAnalysis.EditorFeatures (13)
EditAndContinue\ActiveStatementTrackingService.cs (11)
96
public ValueTask<ImmutableArray<
ActiveStatementTrackingSpan
>> GetAdjustedTrackingSpansAsync(TextDocument document, ITextSnapshot snapshot, CancellationToken cancellationToken)
114
private readonly Dictionary<string, ImmutableArray<
ActiveStatementTrackingSpan
>> _trackingSpans = [];
128
internal Dictionary<string, ImmutableArray<
ActiveStatementTrackingSpan
>> Test_GetTrackingSpans()
257
private static ImmutableArray<
ActiveStatementTrackingSpan
> CreateTrackingSpans(ITextSnapshot snapshot, ImmutableArray<ActiveStatementSpan> activeStatementSpans)
258
=> activeStatementSpans.SelectAsArray((span, snapshot) =>
ActiveStatementTrackingSpan
.Create(snapshot, span), snapshot);
260
private static ImmutableArray<
ActiveStatementTrackingSpan
> UpdateTrackingSpans(
262
ImmutableArray<
ActiveStatementTrackingSpan
> oldSpans,
267
ArrayBuilder<
ActiveStatementTrackingSpan
>? lazyBuilder = null;
271
var
oldSpan = oldSpans[i];
282
lazyBuilder = ArrayBuilder<
ActiveStatementTrackingSpan
>.GetInstance(oldSpans.Length);
343
internal async ValueTask<ImmutableArray<
ActiveStatementTrackingSpan
>> GetAdjustedTrackingSpansAsync(TextDocument document, ITextSnapshot snapshot, CancellationToken cancellationToken)
EditAndContinue\ActiveStatementTrackingSpan.cs (1)
23
public static
ActiveStatementTrackingSpan
Create(ITextSnapshot snapshot, ActiveStatementSpan span)
EditAndContinue\IActiveStatementTrackingService.cs (1)
28
ValueTask<ImmutableArray<
ActiveStatementTrackingSpan
>> GetAdjustedTrackingSpansAsync(TextDocument document, ITextSnapshot snapshot, CancellationToken cancellationToken);