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)
722if (value < Count) throw new ArgumentOutOfRangeException(nameof(value), SR.ArgumentOutOfRange_SmallCapacity); 756InsertRange(Count, c); 764if (Count - index < count) 865if (startIndex < 0 || startIndex > Count) throw new ArgumentOutOfRangeException(nameof(startIndex), SR.ArgumentOutOfRange_IndexMustBeLessOrEqual); 866if (count < 0 || startIndex > Count - count) throw new ArgumentOutOfRangeException(nameof(count), SR.ArgumentOutOfRange_Count); 895if (index < 0 || index > Count) throw new ArgumentOutOfRangeException(nameof(index), SR.ArgumentOutOfRange_IndexMustBeLessOrEqual); 1051if (Count == 0) 1054object?[] array = new object[Count];