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

◆ this[int index]

override object System.Collections.ArrayList.Range.this[int index]
getset

Implements System.Collections.IList.

Definition at line 1648 of file ArrayList.cs.

1649 {
1650 get
1651 {
1653 if (index < 0 || index >= _baseSize)
1654 {
1655 throw new ArgumentOutOfRangeException("index", SR.ArgumentOutOfRange_Index);
1656 }
1657 return _baseList[_baseIndex + index];
1658 }
1659 set
1660 {
1662 if (index < 0 || index >= _baseSize)
1663 {
1664 throw new ArgumentOutOfRangeException("index", SR.ArgumentOutOfRange_Index);
1665 }
1668 }
1669 }