2 instantiations of ActiveStatementTrackingSpan
Microsoft.CodeAnalysis.EditorFeatures (2)
EditAndContinue\ActiveStatementTrackingService.cs (1)
282lazyBuilder[i] = new ActiveStatementTrackingSpan(
EditAndContinue\ActiveStatementTrackingSpan.cs (1)
32=> new(snapshot.CreateTrackingSpan(snapshot.GetTextSpan(span.LineSpan).ToSpan(), SpanTrackingMode.EdgeExclusive), span.Ordinal, span.Flags, span.UnmappedDocumentId);
17 references to ActiveStatementTrackingSpan
Microsoft.CodeAnalysis.EditorFeatures (17)
EditAndContinue\ActiveStatementTaggerProvider.cs (1)
88foreach (var activeStatementSpan in activeStatementSpans)
EditAndContinue\ActiveStatementTrackingService.cs (14)
95public ValueTask<ImmutableArray<ActiveStatementTrackingSpan>> GetAdjustedTrackingSpansAsync(TextDocument document, ITextSnapshot snapshot, CancellationToken cancellationToken) 96=> _session?.GetAdjustedTrackingSpansAsync(document, snapshot, cancellationToken) ?? new(ImmutableArray<ActiveStatementTrackingSpan>.Empty); 113private readonly Dictionary<string, ImmutableArray<ActiveStatementTrackingSpan>> _trackingSpans = new(); 127internal Dictionary<string, ImmutableArray<ActiveStatementTrackingSpan>> Test_GetTrackingSpans() 253private static ImmutableArray<ActiveStatementTrackingSpan> CreateTrackingSpans(ITextSnapshot snapshot, ImmutableArray<ActiveStatementSpan> activeStatementSpans) 254=> activeStatementSpans.SelectAsArray((span, snapshot) => ActiveStatementTrackingSpan.Create(snapshot, span), snapshot); 256private static ImmutableArray<ActiveStatementTrackingSpan> UpdateTrackingSpans( 258ImmutableArray<ActiveStatementTrackingSpan> oldSpans, 263ArrayBuilder<ActiveStatementTrackingSpan>? lazyBuilder = null; 267var oldSpan = oldSpans[i]; 278lazyBuilder = ArrayBuilder<ActiveStatementTrackingSpan>.GetInstance(oldSpans.Length); 339internal async ValueTask<ImmutableArray<ActiveStatementTrackingSpan>> GetAdjustedTrackingSpansAsync(TextDocument document, ITextSnapshot snapshot, CancellationToken cancellationToken) 345return ImmutableArray<ActiveStatementTrackingSpan>.Empty; 384return ImmutableArray<ActiveStatementTrackingSpan>.Empty;
EditAndContinue\ActiveStatementTrackingSpan.cs (1)
31public static ActiveStatementTrackingSpan Create(ITextSnapshot snapshot, ActiveStatementSpan span)
EditAndContinue\IActiveStatementTrackingService.cs (1)
34ValueTask<ImmutableArray<ActiveStatementTrackingSpan>> GetAdjustedTrackingSpansAsync(TextDocument document, ITextSnapshot snapshot, CancellationToken cancellationToken);