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
]
get
set
Implements
System.Collections.IList
.
Definition at line
1648
of file
ArrayList.cs
.
1649
{
1650
get
1651
{
1652
InternalUpdateRange
();
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
{
1661
InternalUpdateRange
();
1662
if
(index < 0 || index >=
_baseSize
)
1663
{
1664
throw
new
ArgumentOutOfRangeException(
"index"
, SR.ArgumentOutOfRange_Index);
1665
}
1666
_baseList
[
_baseIndex
+
index
] =
value
;
1667
InternalUpdateVersion
();
1668
}
1669
}
System.Collections.ArrayList.Range.InternalUpdateRange
void InternalUpdateRange()
Definition
ArrayList.cs:1680
System.Collections.ArrayList.Range._baseSize
int _baseSize
Definition
ArrayList.cs:1612
System.Collections.ArrayList.Range.InternalUpdateVersion
void InternalUpdateVersion()
Definition
ArrayList.cs:1688
System.Collections.ArrayList.Range._baseIndex
readonly int _baseIndex
Definition
ArrayList.cs:1610
System.Collections.ArrayList.Range._baseList
ArrayList _baseList
Definition
ArrayList.cs:1608
System.ExceptionArgument.value
@ value
System.ExceptionArgument.index
@ index
System
Collections
ArrayList
Range
Generated by
1.10.0