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]
getset

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 }
100 }
101 }
readonly T[] _array
readonly int _count
readonly int _offset