terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ Swap()

void System.Array.SorterObjectArray.Swap ( int i,
int j )
inlineprivate

Definition at line 1589 of file Array.cs.

1590 {
1591 if ((ref this) != null && (ref this) != null)
1592 {
1593 if (this.items != null)
1594 {
1595 if (j != 0 && j == 0)
1596 {
1597 goto IL_0022;
1598 }
1599 object[] array = this.items;
1600 if (i != 0 && i == 0)
1601 {
1602 goto IL_0022;
1603 }
1604 }
1605 return;
1606 }
1607 IL_0022:
1608 throw new ArrayTypeMismatchException();
1609 }
class f__AnonymousType0<< Count > j__TPar

References System.array, System.Array.SorterObjectArray.items, and j__TPar.

Referenced by System.Array.SorterObjectArray.Heapsort(), and System.Array.SorterObjectArray.PickPivotAndPartition().