4 overrides of ItemsEqual
Microsoft.CodeAnalysis.Workspaces (3)
Differencing\LongestCommonImmutableArraySubsequence.cs (1)
19protected sealed override bool ItemsEqual(ImmutableArray<TElement> oldSequence, int oldIndex, ImmutableArray<TElement> newSequence, int newIndex)
Differencing\LongestCommonSubstring.cs (1)
22protected override bool ItemsEqual(string oldSequence, int oldIndex, string newSequence, int newIndex)
Differencing\Match.LongestCommonSubsequence.cs (1)
24protected override bool ItemsEqual(IReadOnlyList<TNode> oldSequence, int oldIndex, IReadOnlyList<TNode> newSequence, int newIndex)
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
Differencing\LongestCommonSubsequenceTests.cs (1)
20protected override bool ItemsEqual(string oldSequence, int oldIndex, string newSequence, int newIndex)
2 references to ItemsEqual
Microsoft.CodeAnalysis.Workspaces (2)
Differencing\LongestCommonSubsequence.cs (2)
400/// Diagonal edges connect vertex (i,j) to vertex (i-1,j-1) if <see cref="ItemsEqual"/>(sequenceA[i-1],sequenceB[j-1]) is true. 462while (xEnd < oldLength && yEnd < newLength && ItemsEqual(oldSequence, xEnd, newSequence, yEnd))