26 references to _oldNodes
Microsoft.CodeAnalysis (26)
Syntax\SyntaxDiffer.cs (26)
29_oldNodes.Push((SyntaxNodeOrToken)oldNode); 129if (_oldNodes.Count > 0) 131RecordDeleteOld(_oldNodes.Count); 135else if (_oldNodes.Count == 0) 150RemoveFirst(_oldNodes, action.Count); 154ReplaceFirstWithChildren(_oldNodes); 160ReplaceFirstWithChildren(_oldNodes); 204bool oldIsToken = _oldNodes.Peek().IsToken; 213FindBestMatch(_newNodes, _oldNodes.Peek(), out indexOfOldInNew, out similarityOfOldInNew); 214FindBestMatch(_oldNodes, _newNodes.Peek(), out indexOfNewInOld, out similarityOfNewInOld); 220if (AreIdentical(_oldNodes.Peek(), _newNodes.Peek())) 253FindBestMatch(_oldNodes, _oldNodes.Peek(), out indexOfOldInOld, out similarityOfOldInOld, 1); 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)) 532var oldSpan = GetSpan(_oldNodes, 0, oldNodeCount); 533var removedNodes = CopyFirst(_oldNodes, oldNodeCount); 534RemoveFirst(_oldNodes, oldNodeCount); 543var removedNode = _oldNodes.Pop(); 553var oldSpan = GetSpan(_oldNodes, 0, oldNodeCount); 554var removedNodes = CopyFirst(_oldNodes, oldNodeCount); 555RemoveFirst(_oldNodes, oldNodeCount); 568int start = _oldNodes.Count > 0 ? _oldNodes.Peek().Position : _oldSpan.End;