7 references to SwapIfGreater
Microsoft.CodeAnalysis.Workspaces (7)
src\Dependencies\Collections\Internal\ArraySortHelper.cs (7)
157SwapIfGreater(keys, comparer!, 0, 1); 163SwapIfGreater(keys, comparer!, 0, 1); 164SwapIfGreater(keys, comparer!, 0, 2); 165SwapIfGreater(keys, comparer!, 1, 2); 199SwapIfGreater(keys, comparer!, 0, middle); // swap the low with the mid point 200SwapIfGreater(keys, comparer!, 0, hi); // swap the low with the high 201SwapIfGreater(keys, comparer!, middle, hi); // swap the middle with the high