19 references to _imageInfoCollection
System.Windows.Forms (19)
System\Windows\Forms\Controls\ImageList\ImageList.ImageCollection.cs (19)
40for (int i = 0; i < _imageInfoCollection.Count; i++) 42if ((_imageInfoCollection[i] is ImageInfo image) && (image.Name is not null) && (image.Name.Length != 0)) 63_imageInfoCollection.Clear(); 67_imageInfoCollection.Add(new ImageInfo()); 229Debug.Assert((Count == _imageInfoCollection.Count), "The count of these two collections should be equal."); 247Debug.Assert((Count == _imageInfoCollection.Count), "The count of these two collections should be equal."); 354_imageInfoCollection.Add(new ImageInfo()); 360_imageInfoCollection.Add(imageInfo); 419_imageInfoCollection.Clear(); 476if ((_imageInfoCollection[i] is not null) && 477(WindowsFormsUtils.SafeCompareStrings(_imageInfoCollection[i].Name, key, ignoreCase: true))) 486if ((_imageInfoCollection[i] is not null) && 487(WindowsFormsUtils.SafeCompareStrings(_imageInfoCollection[i].Name, key, ignoreCase: true))) 553if ((_imageInfoCollection is not null) && (index >= 0 && index < _imageInfoCollection.Count)) 555_imageInfoCollection.RemoveAt(index); 583if (_imageInfoCollection[index] is null) 585_imageInfoCollection[index] = new ImageInfo(); 588_imageInfoCollection[index].Name = name;