2 instantiations of UnmappedActiveStatement
Microsoft.CodeAnalysis.Features (1)
EditAndContinue\ActiveStatementsMap.cs (1)
205builder.Add(new UnmappedActiveStatement(unmappedSpan, activeStatement, exceptionRegions));
Microsoft.CodeAnalysis.Features.Test.Utilities (1)
EditAndContinue\ActiveStatementsDescription.cs (1)
117var unmappedActiveStatement = new UnmappedActiveStatement(
26 references to UnmappedActiveStatement
Microsoft.CodeAnalysis.Features (16)
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (4)
947ImmutableArray<UnmappedActiveStatement> oldActiveStatements, 1111ImmutableArray<UnmappedActiveStatement> oldActiveStatements, 1511private ActiveStatement GetActiveStatementWithSpan(UnmappedActiveStatement oldStatement, SyntaxTree newTree, TextSpan newSpan, RudeEditDiagnosticsBuilder diagnostics, CancellationToken cancellationToken) 2676ImmutableArray<UnmappedActiveStatement> oldActiveStatements,
EditAndContinue\ActiveStatementsMap.cs (7)
45private ImmutableDictionary<SyntaxTree, ImmutableArray<UnmappedActiveStatement>> _lazyOldDocumentActiveStatements; 56_lazyOldDocumentActiveStatements = ImmutableDictionary<SyntaxTree, ImmutableArray<UnmappedActiveStatement>>.Empty; 172internal async ValueTask<ImmutableArray<UnmappedActiveStatement>> GetOldActiveStatementsAsync(IEditAndContinueAnalyzer analyzer, Document oldDocument, CancellationToken cancellationToken) 180internal ImmutableArray<UnmappedActiveStatement> GetOldActiveStatements(IEditAndContinueAnalyzer analyzer, SyntaxTree oldSyntaxTree, SourceText oldText, SyntaxNode oldRoot, CancellationToken cancellationToken) 190private ImmutableArray<UnmappedActiveStatement> CalculateOldActiveStatementsAndExceptionRegions(IEditAndContinueAnalyzer analyzer, SyntaxTree oldTree, SourceText oldText, SyntaxNode oldRoot, CancellationToken cancellationToken) 192using var _1 = ArrayBuilder<UnmappedActiveStatement>.GetInstance(out var builder); 250Debug.Assert(builder.IsSorted(Comparer<UnmappedActiveStatement>.Create((x, y) => x.UnmappedSpan.Start.CompareTo(y.UnmappedSpan.End))));
EditAndContinue\DocumentActiveStatementChanges.cs (3)
12public readonly ImmutableArray<UnmappedActiveStatement> OldStatements; 17ImmutableArray<UnmappedActiveStatement> oldSpans, 38out ImmutableArray<UnmappedActiveStatement> oldStatements,
EditAndContinue\EditAndContinueDocumentAnalysesCache.cs (1)
146foreach (var oldActiveStatement in oldActiveStatements)
EditAndContinue\MemberBody.cs (1)
54public IEnumerable<int> GetOverlappingActiveStatementIndices(ImmutableArray<UnmappedActiveStatement> statements)
Microsoft.CodeAnalysis.Features.Test.Utilities (10)
EditAndContinue\ActiveStatementsDescription.cs (8)
21public readonly ImmutableArray<UnmappedActiveStatement> OldStatements; 65var oldStatement = OldStatements[i]; 93internal static ImmutableArray<UnmappedActiveStatement> CreateActiveStatementMapFromMarkers( 103new List<UnmappedActiveStatement>(), 117var unmappedActiveStatement = new UnmappedActiveStatement( 131internal static ImmutableArray<UnmappedActiveStatement> GetUnmappedActiveStatements( 140using var _ = ArrayBuilder<UnmappedActiveStatement>.GetInstance(out var activeStatements); 158ImmutableArray<UnmappedActiveStatement> activeStatements,
EditAndContinue\ActiveStatementTestHelpers.cs (1)
36public static ImmutableArray<UnmappedActiveStatement> GetUnmappedActiveStatementsCSharp(
EditAndContinue\EditAndContinueTestVerifier.cs (1)
96foreach (var oldStatement in description.OldStatements)