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

◆ Add()

virtual void System.Collections.SortedList.Add ( object key,
object value )
inlinevirtual

Implements System.Collections.IDictionary.

Reimplemented in System.Collections.SortedList.SyncSortedList.

Definition at line 55 of file SortedList.cs.

56 {
57 while (key == null)
58 {
59 }
60 object[] array = this.keys;
61 int size = this._size;
62 IComparer comparer = this.comparer;
63 long num = 0L;
64 int num2 = Array.BinarySearch(array, (int)num, size, key, comparer);
65 this.Insert(num2, key, value);
66 }
class f__AnonymousType0<< Count > j__TPar
static int BinarySearch(Array array, object value)
Definition Array.cs:189

References System.Collections.SortedList._size, System.array, System.Array.BinarySearch(), System.Collections.SortedList.comparer, System.Insert, j__TPar, System.key, System.Collections.SortedList.keys, System.L, and System.value.