18 references to _items
System.Windows.Forms.Design (18)
System\Windows\Forms\Design\ImageListDesigner.OriginalImageCollection.cs (18)
31Debug.Assert(_items is not null, "OriginalImageCollection has no list (ImageListDesigner)"); 39return _items.Count; 55return (ImageListImage)_items[index]; 64_items[index] = value; 88_items.Add(value); 98return _items.IndexOf(value); 119_items.Clear(); 123_items.Add(new ImageListImage((Bitmap)_owner.ImageList.Images[i], imageKeys[i])); 133_items.Clear(); 137public bool Contains(ImageListImage value) => _items.Contains(value); 141public IEnumerator GetEnumerator() => _items.GetEnumerator(); 143public int IndexOf(ImageListImage? value) => value is ImageListImage imageListImage ? _items.IndexOf(imageListImage) : -1; 151for (int i = 0; i < _items.Count; i++) 153ImageListImage imageListImage = (ImageListImage)_items[i]; 167_items.Remove(value); 186_items.RemoveAt(index); 194object ICollection.SyncRoot => ((ICollection)_items).SyncRoot; 196void ICollection.CopyTo(Array array, int index) => ((ICollection)_items).CopyTo(array, index);