Definition at line 1299 of file ImmutableArray.cs.
1300 {
1302 result.ThrowNullRefIfNotInitialized();
1303 Requires.Range(
index >= 0,
"index");
1304 Requires.Range(
count >= 0 &&
index +
count <= result.Length,
"count");
1306 {
1308 {
1310 }
1311 bool flag = false;
1313 {
1314 if (
comparer.Compare(result.array[i - 1], result.array[i]) > 0)
1315 {
1316 flag = true;
1317 break;
1318 }
1319 }
1320 if (flag)
1321 {
1322 T[]
array =
new T[result.Length];
1326 }
1327 }
1328 return result;
1329 }
static void Sort(Array array)
static unsafe void Copy(Array sourceArray, Array destinationArray, int length)
Array? IImmutableArray. Array
References System.Collections.Immutable.ImmutableArray< T >.array, System.comparer, System.Array.Copy(), System.count, System.index, System.Collections.Immutable.Requires.Range(), and System.Array.Sort().