3 writes to _itemsCollection
System.Windows.Forms (3)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (3)
623_itemsCollection ??= new ObjectCollection(this); 2378_itemsCollection = null; 2979_itemsCollection = null;
15 references to _itemsCollection
System.Windows.Forms (15)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (15)
625return _itemsCollection; 875ArgumentOutOfRangeException.ThrowIfGreaterThanOrEqual(value, _itemsCollection?.Count ?? 0); 917if (_itemsCollection is not null) 921x = _itemsCollection.IndexOf(value); 1893return FindStringInternal(s, _itemsCollection, startIndex, exact: false, ignoreCase: true); 1920return FindStringInternal(s, _itemsCollection, startIndex, exact: true, ignoreCase); 1962ArgumentOutOfRangeException.ThrowIfGreaterThanOrEqual(index, _itemsCollection?.Count ?? 0); 2350if (_itemsCollection is not null) 2352foreach (object item in _itemsCollection) 2977ObjectCollection? savedItems = _itemsCollection; 3181if (_itemsCollection is null) 3186if (_itemsCollection.Count == 0) 3342return $"{s}, Items.Count: {_itemsCollection?.Count ?? 0}"; 3356int itemCount = (_itemsCollection is null) ? 0 : _itemsCollection.Count;