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