7 references to SwapIfGreater
Microsoft.CodeAnalysis.Workspaces (7)
src\Dependencies\Collections\Internal\ArraySortHelper.cs (7)
435SwapIfGreater(ref keys[0], ref keys[1]); 445SwapIfGreater(ref loRef, ref him1Ref); 446SwapIfGreater(ref loRef, ref hiRef); 447SwapIfGreater(ref him1Ref, ref hiRef); 478SwapIfGreater(ref keys[zeroIndex], ref keys[middleIndex]); 479SwapIfGreater(ref keys[zeroIndex], ref keys[lastIndex]); 480SwapIfGreater(ref keys[middleIndex], ref keys[lastIndex]);