1 write to OldIndex
Microsoft.CodeAnalysis.Workspaces (1)
Differencing\SequenceEdit.cs (1)
25OldIndex = oldIndex;
10 references to OldIndex
Microsoft.CodeAnalysis.Workspaces (10)
Differencing\MapBasedLongestCommonSubsequence.cs (2)
20edit.OldIndex >= 0 ? oldNodes[edit.OldIndex] : default!,
Differencing\Match.LongestCommonSubsequence.cs (2)
44edit.OldIndex >= 0 ? oldNodes[edit.OldIndex] : default,
Differencing\SequenceEdit.cs (6)
36if (OldIndex == -1) 62return OldIndex == other.OldIndex 70=> Hash.Combine(OldIndex, NewIndex); 78return result + " (" + OldIndex + ")"; 84return result + " (" + OldIndex + " -> " + NewIndex + ")";