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