2 instantiations of UnmappedActiveStatement
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
EditAndContinue\ActiveStatementsDescription.cs (1)
117
var unmappedActiveStatement = new
UnmappedActiveStatement
(
Microsoft.CodeAnalysis.Features (1)
EditAndContinue\ActiveStatementsMap.cs (1)
199
builder.Add(new
UnmappedActiveStatement
(unmappedSpan, activeStatement, exceptionRegions));
33 references to UnmappedActiveStatement
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (11)
EditAndContinue\ActiveStatementsDescription.cs (9)
25
public readonly ImmutableArray<
UnmappedActiveStatement
> OldStatements;
33
OldStatements = ImmutableArray<
UnmappedActiveStatement
>.Empty;
67
foreach (
var
oldStatement in OldStatements)
93
internal static ImmutableArray<
UnmappedActiveStatement
> CreateActiveStatementMapFromMarkers(
103
new List<
UnmappedActiveStatement
>(),
117
var
unmappedActiveStatement = new UnmappedActiveStatement(
131
internal static ImmutableArray<
UnmappedActiveStatement
> GetUnmappedActiveStatements(
140
var activeStatements = new ArrayBuilder<
UnmappedActiveStatement
>();
158
ImmutableArray<
UnmappedActiveStatement
> activeStatements,
EditAndContinue\ActiveStatementTestHelpers.cs (1)
36
public static ImmutableArray<
UnmappedActiveStatement
> GetUnmappedActiveStatementsCSharp(
EditAndContinue\EditAndContinueTestHelpers.cs (1)
64
foreach (
var
oldStatement in description.OldStatements)
Microsoft.CodeAnalysis.Features (22)
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (7)
632
var oldActiveStatements = (oldTree == null) ? ImmutableArray<
UnmappedActiveStatement
>.Empty :
795
ImmutableArray<
UnmappedActiveStatement
> oldActiveStatements,
952
ImmutableArray<
UnmappedActiveStatement
> oldActiveStatements,
1296
private ActiveStatement GetActiveStatementWithSpan(
UnmappedActiveStatement
oldStatement, SyntaxTree newTree, TextSpan newSpan, ArrayBuilder<RudeEditDiagnostic> diagnostics, CancellationToken cancellationToken)
1701
private IEnumerable<int> GetOverlappingActiveStatements(SyntaxNode declaration, ImmutableArray<
UnmappedActiveStatement
> statements)
2405
ImmutableArray<
UnmappedActiveStatement
> oldActiveStatements,
2861
oldActiveStatements: ImmutableArray<
UnmappedActiveStatement
>.Empty,
EditAndContinue\ActiveStatementsMap.cs (7)
45
private ImmutableDictionary<SyntaxTree, ImmutableArray<
UnmappedActiveStatement
>> _lazyOldDocumentActiveStatements;
56
_lazyOldDocumentActiveStatements = ImmutableDictionary<SyntaxTree, ImmutableArray<
UnmappedActiveStatement
>>.Empty;
166
internal async ValueTask<ImmutableArray<
UnmappedActiveStatement
>> GetOldActiveStatementsAsync(IEditAndContinueAnalyzer analyzer, Document oldDocument, CancellationToken cancellationToken)
174
internal ImmutableArray<
UnmappedActiveStatement
> GetOldActiveStatements(IEditAndContinueAnalyzer analyzer, SyntaxTree oldSyntaxTree, SourceText oldText, SyntaxNode oldRoot, CancellationToken cancellationToken)
184
private ImmutableArray<
UnmappedActiveStatement
> CalculateOldActiveStatementsAndExceptionRegions(IEditAndContinueAnalyzer analyzer, SyntaxTree oldTree, SourceText oldText, SyntaxNode oldRoot, CancellationToken cancellationToken)
186
using var _1 = ArrayBuilder<
UnmappedActiveStatement
>.GetInstance(out var builder);
244
Debug.Assert(builder.IsSorted(Comparer<
UnmappedActiveStatement
>.Create((x, y) => x.UnmappedSpan.Start.CompareTo(y.UnmappedSpan.End))));
EditAndContinue\DocumentActiveStatementChanges.cs (3)
13
public readonly ImmutableArray<
UnmappedActiveStatement
> OldStatements;
18
ImmutableArray<
UnmappedActiveStatement
> oldSpans,
39
out ImmutableArray<
UnmappedActiveStatement
> oldStatements,
EditAndContinue\EditAndContinueDocumentAnalysesCache.cs (1)
141
foreach (
var
oldActiveStatement in oldActiveStatements)
EditAndContinue\EditSession.cs (1)
643
var oldActiveStatements = (oldDocument == null) ? ImmutableArray<
UnmappedActiveStatement
>.Empty :
EditAndContinue\Extensions.cs (3)
59
public static
UnmappedActiveStatement
GetStatement(this ImmutableArray<
UnmappedActiveStatement
> statements, int ordinal)
61
foreach (
var
item in statements)