Base:
property
Count
System.Collections.ArrayList.Count
8 references to Count
System.Private.CoreLib (8)
src\libraries\System.Private.CoreLib\src\System\Collections\ArrayList.cs (8)
722
if (value <
Count
) throw new ArgumentOutOfRangeException(nameof(value), SR.ArgumentOutOfRange_SmallCapacity);
756
InsertRange(
Count
, c);
764
if (
Count
- index < count)
865
if (startIndex < 0 || startIndex >
Count
) throw new ArgumentOutOfRangeException(nameof(startIndex), SR.ArgumentOutOfRange_IndexMustBeLessOrEqual);
866
if (count < 0 || startIndex >
Count
- count) throw new ArgumentOutOfRangeException(nameof(count), SR.ArgumentOutOfRange_Count);
895
if (index < 0 || index >
Count
) throw new ArgumentOutOfRangeException(nameof(index), SR.ArgumentOutOfRange_IndexMustBeLessOrEqual);
1051
if (
Count
== 0)
1054
object?[] array = new object[
Count
];