1 write to OldRoot
Microsoft.CodeAnalysis.Workspaces (1)
Differencing\Match.cs (1)
28
OldRoot
= root1;
16 references to OldRoot
Microsoft.CodeAnalysis.Features (8)
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (8)
767
if ((IsCompilationUnitWithGlobalStatements(editScript.Match.
OldRoot
) || IsCompilationUnitWithGlobalStatements(editScript.Match.NewRoot)) &&
770
map.Add(editScript.Match.
OldRoot
, EditKind.Update);
806
var node = TryGetNode(topMatch.
OldRoot
, oldStatementSpan.Start);
809
if (node != null && TryFindMemberDeclaration(topMatch.
OldRoot
, node, oldStatementSpan, out var oldMemberDeclarations))
2045
var oldTree = topMatch.
OldRoot
.SyntaxTree;
2536
var oldTree = editScript.Match.
OldRoot
.SyntaxTree;
4873
var oldContainerDeclaration = analyzer.GetSymbolDeclarationSyntax(oldSymbol.ContainingSymbol, topMatch.
OldRoot
.SyntaxTree, cancellationToken);
5226
var oldSyntaxTree = topMatch.
OldRoot
.SyntaxTree;
Microsoft.CodeAnalysis.Features.Test.Utilities (2)
EditAndContinue\EditAndContinueTestVerifier.cs (2)
498
Assert.Same(pair.Key, bodyMatch.
OldRoot
);
509
=> ToMatchingPairs(match.Matches.Where(partners => partners.Key != match.
OldRoot
));
Microsoft.CodeAnalysis.Workspaces (6)
Differencing\EditScript.cs (1)
35
private TNode Root1 => Match.
OldRoot
;
Differencing\Match.cs (5)
282
Debug.Assert(Comparer.TreesEqual(node1,
OldRoot
));
299
Debug.Assert(!result || Comparer.TreesEqual(partner1,
OldRoot
));
312
Debug.Assert(Comparer.TreesEqual(node1,
OldRoot
));
319
Debug.Assert(Comparer.TreesEqual(node1,
OldRoot
));
358
/// Returns an edit script (a sequence of edits) that transform <see cref="
OldRoot
"/> subtree