1 write to NewRoot
Microsoft.CodeAnalysis.Workspaces (1)
Differencing\Match.cs (1)
29
NewRoot
= root2;
17 references to NewRoot
Microsoft.CodeAnalysis.Features (6)
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (6)
810
if ((IsCompilationUnitWithGlobalStatements(editScript.Match.OldRoot) || IsCompilationUnitWithGlobalStatements(editScript.Match.
NewRoot
)) &&
814
map.Add(editScript.Match.
NewRoot
, EditKind.Update);
1059
newActiveStatements[activeStatementIndex] = GetActiveStatementWithSpan(oldActiveStatements[activeStatementIndex], topMatch.
NewRoot
.SyntaxTree, newSpan, diagnostics, cancellationToken);
2104
var newTree = topMatch.
NewRoot
.SyntaxTree;
2592
var newTree = editScript.Match.
NewRoot
.SyntaxTree;
5335
var newSyntaxTree = topMatch.
NewRoot
.SyntaxTree;
Microsoft.CodeAnalysis.Features.Test.Utilities (4)
EditAndContinue\EditAndContinueTestVerifier.cs (2)
484
newSolution = newSolution.WithDocumentSyntaxRoot(oldDocument.Id, editScripts[documentIndex].Match.
NewRoot
, PreservationMode.PreserveIdentity);
520
if (pair.Value == bodyMatch.
NewRoot
)
EditAndContinue\SyntaxMapDescription.cs (2)
24
return match.
NewRoot
.SyntaxTree.GetLineSpan(Spans[index].newSpan).StartLinePosition;
32
return match.
NewRoot
.SyntaxTree.GetLineSpan(newSpans[index]).StartLinePosition;
Microsoft.CodeAnalysis.Workspaces (7)
Differencing\EditScript.cs (1)
37
private TNode Root2 => Match.
NewRoot
;
Differencing\Match.cs (6)
283
Debug.Assert(Comparer.TreesEqual(node2,
NewRoot
));
298
Debug.Assert(Comparer.TreesEqual(node2,
NewRoot
));
305
Debug.Assert(Comparer.TreesEqual(node2,
NewRoot
));
313
Debug.Assert(!result || Comparer.TreesEqual(partner2,
NewRoot
));
325
Debug.Assert(Comparer.TreesEqual(node2,
NewRoot
));
359
/// to <see cref="
NewRoot
"/> subtree.