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.SorterGenericArray.Swap ( int i,
int j )
inlineprivate

Definition at line 1702 of file Array.cs.

1703 {
1704 Array array = this.items;
1705 if (array != null)
1706 {
1707 object value = array.GetValue(i);
1708 Array array2 = this.items;
1709 object value2 = array2.GetValue(j);
1710 array2.SetValue(value2, i);
1711 this.items.SetValue(value, j);
1712 return;
1713 }
1714 }
class f__AnonymousType0<< Count > j__TPar
void SetValue(object value, long index)
Definition Array.cs:513
object GetValue(long index)
Definition Array.cs:250

References System.array, System.Array.GetValue(), System.Array.SorterGenericArray.items, j__TPar, System.Array.SetValue(), and System.value.

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