Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
this[int index]
[1/3]
T
System.ArraySegment
<
T
>.
this
[int
index
]
get
set
Definition at line
83
of file
ArraySegment.cs
.
84
{
85
get
86
{
87
if
((uint)
index
>= (uint)
_count
)
88
{
89
ThrowHelper.ThrowArgumentOutOfRange_IndexException();
90
}
91
return
_array
[
_offset
+
index
];
92
}
93
set
94
{
95
if
((uint)
index
>= (uint)
_count
)
96
{
97
ThrowHelper.ThrowArgumentOutOfRange_IndexException();
98
}
99
_array
[
_offset
+
index
] =
value
;
100
}
101
}
System.ExceptionArgument.value
@ value
System.ExceptionArgument.index
@ index
System.ArraySegment._array
readonly T[] _array
Definition
ArraySegment.cs:68
System.ArraySegment._count
readonly int _count
Definition
ArraySegment.cs:72
System.ArraySegment._offset
readonly int _offset
Definition
ArraySegment.cs:70
System
ArraySegment
Generated by
1.10.0