1 write to Length
Microsoft.Build.Framework (1)
SegmentedArraySegment`1.cs (1)
17
Length
= length;
54 references to Length
Microsoft.Build.Framework (54)
ArraySortHelper.cs (50)
132
if (keys.
Length
> 1)
134
IntroSort(keys, 2 * (SegmentedArraySortUtils.Log2((uint)keys.
Length
) + 1), comparer!);
140
Debug.Assert(keys.
Length
> 0);
144
int partitionSize = keys.
Length
;
185
Debug.Assert(keys.
Length
>= SegmentedArrayHelper.IntrosortSizeThreshold);
188
int hi = keys.
Length
- 1;
231
Debug.Assert(keys.
Length
> 0);
233
int n = keys.
Length
;
250
Debug.Assert(lo < keys.
Length
);
273
for (int i = 0; i < keys.
Length
- 1; i++)
298
if (keys.
Length
> 1)
311
if (nanLeft == keys.
Length
)
318
IntroSort(keys, 2 * (SegmentedArraySortUtils.Log2((uint)keys.
Length
) + 1));
419
Debug.Assert(keys.
Length
> 0);
422
int partitionSize = keys.
Length
;
466
Debug.Assert(keys.
Length
>= SegmentedArrayHelper.IntrosortSizeThreshold);
470
int lastIndex = keys.
Length
- 1;
471
int middleIndex = (keys.
Length
- 1) >> 1;
477
int nextToLastIndex = keys.
Length
- 2;
529
Debug.Assert(keys.
Length
> 0);
531
int n = keys.
Length
;
547
Debug.Assert(lo < keys.
Length
);
570
for (int i = 0; i < keys.
Length
- 1; i++)
690
Debug.Assert(0 <= i && i < keys.
Length
&& i < values.Length);
691
Debug.Assert(0 <= j && j < keys.
Length
&& j < values.Length);
723
Debug.Assert(keys.
Length
== values.Length);
725
if (keys.
Length
> 1)
727
IntroSort(keys, values, 2 * (SegmentedArraySortUtils.Log2((uint)keys.
Length
) + 1), comparer!);
733
Debug.Assert(keys.
Length
> 0);
734
Debug.Assert(values.Length == keys.
Length
);
738
int partitionSize = keys.
Length
;
779
Debug.Assert(keys.
Length
>= SegmentedArrayHelper.IntrosortSizeThreshold);
782
int hi = keys.
Length
- 1;
825
Debug.Assert(keys.
Length
> 0);
827
int n = keys.
Length
;
844
Debug.Assert(lo < keys.
Length
);
873
for (int i = 0; i < keys.
Length
- 1; i++)
903
if (keys.
Length
> 1)
916
if (nanLeft == keys.
Length
)
924
IntroSort(keys, values, 2 * (SegmentedArraySortUtils.Log2((uint)keys.
Length
) + 1));
975
Debug.Assert(keys.
Length
> 0);
976
Debug.Assert(values.Length == keys.
Length
);
979
int partitionSize = keys.
Length
;
1020
Debug.Assert(keys.
Length
>= SegmentedArrayHelper.IntrosortSizeThreshold);
1022
int hi = keys.
Length
- 1;
1079
Debug.Assert(keys.
Length
> 0);
1081
int n = keys.
Length
;
1097
Debug.Assert(lo < keys.
Length
);
1124
for (int i = 0; i < keys.
Length
- 1; i++)
1241
for (int i = 0; i < keys.
Length
; i++)
SegmentedArraySegment`1.cs (4)
24
if ((uint)index >= (uint)
Length
)
33
if ((uint)start >= (uint)
Length
)
36
return new SegmentedArraySegment<T>(Array, Start + start,
Length
- start);
46
if ((uint)start + (ulong)(uint)length > (uint)
Length
)