22 references to _newNodes
Microsoft.CodeAnalysis (22)
Syntax\SyntaxDiffer.cs (22)
30_newNodes.Push((SyntaxNodeOrToken)newNode);
126if (_newNodes.Count == 0)
138if (_newNodes.Count > 0)
140RecordInsertNew(_newNodes.Count);
151RemoveFirst(_newNodes, action.Count);
157ReplaceFirstWithChildren(_newNodes);
161ReplaceFirstWithChildren(_newNodes);
205bool newIsToken = _newNodes.Peek().IsToken;
213FindBestMatch(_newNodes, _oldNodes.Peek(), out indexOfOldInNew, out similarityOfOldInNew);
214FindBestMatch(_oldNodes, _newNodes.Peek(), out indexOfNewInOld, out similarityOfNewInOld);
220if (AreIdentical(_oldNodes.Peek(), _newNodes.Peek()))
265if (AreSimilar(_oldNodes.Peek(), _newNodes.Peek()))
287if (AreSimilar(_oldNodes.Peek(), _newNodes.Peek()))
309var sim = GetSimilarity(_oldNodes.Peek(), _newNodes.Peek());
310if (sim >= Math.Max(_oldNodes.Peek().FullSpan.Length, _newNodes.Peek().FullSpan.Length))
546var insertedNode = _newNodes.Pop();
556var newSpan = GetSpan(_newNodes, 0, newNodeCount);
557var insertedNodes = CopyFirst(_newNodes, newNodeCount);
558RemoveFirst(_newNodes, newNodeCount);
565var newSpan = GetSpan(_newNodes, 0, newNodeCount);
566var insertedNodes = CopyFirst(_newNodes, newNodeCount);
567RemoveFirst(_newNodes, newNodeCount);