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

◆ Sort() [3/4]

override void System.Collections.ArrayList.Range.Sort ( int index,
int count,
IComparer comparer )
inline

Definition at line 2042 of file ArrayList.cs.

2043 {
2044 if (index < 0 || count < 0)
2045 {
2046 throw new ArgumentOutOfRangeException((index < 0) ? "index" : "count", SR.ArgumentOutOfRange_NeedNonNegNum);
2047 }
2048 if (_baseSize - index < count)
2049 {
2050 throw new ArgumentException(SR.Argument_InvalidOffLen);
2051 }
2055 }

References System.Collections.ArrayList.Range._baseIndex, System.Collections.ArrayList.Range._baseList, System.Collections.ArrayList.Range._baseSize, System.SR.Argument_InvalidOffLen, System.SR.ArgumentOutOfRange_NeedNonNegNum, System.comparer, System.count, System.index, System.Collections.ArrayList.Range.InternalUpdateRange(), System.Collections.ArrayList.Range.InternalUpdateVersion(), and System.Collections.ArrayList.Sort().