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