3 writes to _itemsCollection
System.Windows.Forms (3)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (3)
684_itemsCollection ??= new ObjectCollection(this); 2485_itemsCollection = null; 3091_itemsCollection = null;
15 references to _itemsCollection
System.Windows.Forms (15)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (15)
686return _itemsCollection; 966ArgumentOutOfRangeException.ThrowIfGreaterThanOrEqual(value, _itemsCollection?.Count ?? 0); 1008if (_itemsCollection is not null) 1012x = _itemsCollection.IndexOf(value); 1976return FindStringInternal(s, _itemsCollection, startIndex, exact: false, ignoreCase: true); 2003return FindStringInternal(s, _itemsCollection, startIndex, exact: true, ignoreCase); 2045ArgumentOutOfRangeException.ThrowIfGreaterThanOrEqual(index, _itemsCollection?.Count ?? 0); 2452if (_itemsCollection is not null) 2454foreach (object item in _itemsCollection) 3089ObjectCollection? savedItems = _itemsCollection; 3284if (_itemsCollection is null) 3289if (_itemsCollection.Count == 0) 3445return $"{s}, Items.Count: {_itemsCollection?.Count ?? 0}"; 3459int itemCount = (_itemsCollection is null) ? 0 : _itemsCollection.Count;