3 writes to _itemsCollection
System.Windows.Forms (3)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (3)
628_itemsCollection ??= new ObjectCollection(this); 2375_itemsCollection = null; 2973_itemsCollection = null;
15 references to _itemsCollection
System.Windows.Forms (15)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (15)
630return _itemsCollection; 881ArgumentOutOfRangeException.ThrowIfGreaterThanOrEqual(value, _itemsCollection?.Count ?? 0); 923if (_itemsCollection is not null) 927x = _itemsCollection.IndexOf(value); 1892return FindStringInternal(s, _itemsCollection, startIndex, exact: false, ignoreCase: true); 1919return FindStringInternal(s, _itemsCollection, startIndex, exact: true, ignoreCase); 1961ArgumentOutOfRangeException.ThrowIfGreaterThanOrEqual(index, _itemsCollection?.Count ?? 0); 2347if (_itemsCollection is not null) 2349foreach (object item in _itemsCollection) 2971ObjectCollection? savedItems = _itemsCollection; 3166if (_itemsCollection is null) 3171if (_itemsCollection.Count == 0) 3327return $"{s}, Items.Count: {_itemsCollection?.Count ?? 0}"; 3341int itemCount = (_itemsCollection is null) ? 0 : _itemsCollection.Count;