7 references to SwapIfGreater
Microsoft.CodeAnalysis.CodeStyle (7)
src\Dependencies\Collections\Internal\ArraySortHelper.cs (7)
159SwapIfGreater(keys, comparer!, 0, 1); 165SwapIfGreater(keys, comparer!, 0, 1); 166SwapIfGreater(keys, comparer!, 0, 2); 167SwapIfGreater(keys, comparer!, 1, 2); 201SwapIfGreater(keys, comparer!, 0, middle); // swap the low with the mid point 202SwapIfGreater(keys, comparer!, 0, hi); // swap the low with the high 203SwapIfGreater(keys, comparer!, middle, hi); // swap the middle with the high