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

◆ IndexOfKey()

virtual int System.Collections.SortedList.IndexOfKey ( object key)
inlinevirtual

Reimplemented in System.Collections.SortedList.SyncSortedList.

Definition at line 448 of file SortedList.cs.

449 {
450 while (key == null)
451 {
452 }
453 object[] array = this.keys;
454 int size = this._size;
455 IComparer comparer = this.comparer;
456 long num = 0L;
457 return Array.BinarySearch(array, (int)num, size, key, comparer);
458 }
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.key, System.Collections.SortedList.keys, and System.L.