Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ IndexOf() [5/6]

virtual int System.Collections.ArrayList.IndexOf ( object? value,
int startIndex )
inlinevirtualinherited

Definition at line 2477 of file ArrayList.cs.

2478 {
2479 if (startIndex > _size)
2480 {
2481 throw new ArgumentOutOfRangeException("startIndex", SR.ArgumentOutOfRange_Index);
2482 }
2483 return Array.IndexOf(_items, value, startIndex, _size - startIndex);
2484 }

References System.Collections.ArrayList._items, System.Collections.ArrayList._size, System.SR.ArgumentOutOfRange_Index, System.Array.IndexOf(), System.startIndex, and System.value.