2 instantiations of ActiveStatementLineSpan
Microsoft.CodeAnalysis.Features (2)
EditAndContinue\EditAndContinueDocumentAnalysesCache.cs (2)
132return newMappedDocumentSpans.SelectAsArray(static s => new ActiveStatementLineSpan(s.Id, s.LineSpan)); 169activeStatementSpansBuilder.Add(new ActiveStatementLineSpan(newMappedDocumentActiveSpan.Id, unmappedSpan));
10 references to ActiveStatementLineSpan
Microsoft.CodeAnalysis.Features (10)
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (5)
509ImmutableArray<ActiveStatementLineSpan> newActiveStatementSpans, 948ImmutableArray<ActiveStatementLineSpan> newActiveStatementSpans, 1112ImmutableArray<ActiveStatementLineSpan> newActiveStatementSpans, 1484private static bool TryGetTrackedStatement(ImmutableArray<ActiveStatementLineSpan> activeStatementSpans, ActiveStatementId id, SourceText text, MemberBody body, [NotNullWhen(true)] out SyntaxNode? trackedStatement, out int trackedStatementPart) 2697ImmutableArray<ActiveStatementLineSpan> newActiveStatementSpans,
EditAndContinue\EditAndContinueDocumentAnalysesCache.cs (4)
27private readonly Dictionary<DocumentId, (AsyncLazy<DocumentAnalysisResults> results, Project oldProject, Document? newDocument, ImmutableArray<ActiveStatementLineSpan> activeStatementSpans)> _analyses = []; 105private async Task<ImmutableArray<ActiveStatementLineSpan>> GetLatestUnmappedActiveStatementSpansAsync(Document? oldDocument, Document? newDocument, ActiveStatementSpanProvider newActiveStatementSpanProvider, CancellationToken cancellationToken) 140using var _2 = ArrayBuilder<ActiveStatementLineSpan>.GetInstance(out var activeStatementSpansBuilder); 175private AsyncLazy<DocumentAnalysisResults> GetDocumentAnalysisNoLock(Project oldProject, Project newProject, Document? oldDocument, Document? newDocument, ImmutableArray<ActiveStatementLineSpan> activeStatementSpans)
EditAndContinue\IEditAndContinueAnalyzer.cs (1)
23ImmutableArray<ActiveStatementLineSpan> newActiveStatementSpans,