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

◆ ArraySegment() [2/2]

System.ArraySegment< T >.ArraySegment ( T[] array,
int offset,
int count )
inline

Definition at line 151 of file ArraySegment.cs.

152 {
153 if (array == null || (uint)offset > (uint)array.Length || (uint)count > (uint)(array.Length - offset))
154 {
155 ThrowHelper.ThrowArraySegmentCtorValidationFailedExceptions(array, offset, count);
156 }
157 _array = array;
158 _offset = offset;
159 _count = count;
160 }
readonly T[] _array
readonly int _count
readonly int _offset

References System.ArraySegment< T >._array, System.ArraySegment< T >._count, System.ArraySegment< T >._offset, System.array, System.count, System.offset, and System.ThrowHelper.ThrowArraySegmentCtorValidationFailedExceptions().