7 references to SwapIfGreaterWithValues
Microsoft.CodeAnalysis.Workspaces (7)
src\Dependencies\Collections\Internal\ArraySortHelper.cs (7)
748SwapIfGreaterWithValues(keys, values, comparer!, 0, 1);
754SwapIfGreaterWithValues(keys, values, comparer!, 0, 1);
755SwapIfGreaterWithValues(keys, values, comparer!, 0, 2);
756SwapIfGreaterWithValues(keys, values, comparer!, 1, 2);
790SwapIfGreaterWithValues(keys, values, comparer!, 0, middle); // swap the low with the mid point
791SwapIfGreaterWithValues(keys, values, comparer!, 0, hi); // swap the low with the high
792SwapIfGreaterWithValues(keys, values, comparer!, middle, hi); // swap the middle with the high