3 writes to _itemsCollection
System.Windows.Forms (3)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (3)
659_itemsCollection ??= new ObjectCollection(this); 2441_itemsCollection = null; 3054_itemsCollection = null;
15 references to _itemsCollection
System.Windows.Forms (15)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (15)
661return _itemsCollection; 919ArgumentOutOfRangeException.ThrowIfGreaterThanOrEqual(value, _itemsCollection?.Count ?? 0); 961if (_itemsCollection is not null) 965x = _itemsCollection.IndexOf(value); 1946return FindStringInternal(s, _itemsCollection, startIndex, exact: false, ignoreCase: true); 1973return FindStringInternal(s, _itemsCollection, startIndex, exact: true, ignoreCase); 2015ArgumentOutOfRangeException.ThrowIfGreaterThanOrEqual(index, _itemsCollection?.Count ?? 0); 2413if (_itemsCollection is not null) 2415foreach (object item in _itemsCollection) 3052ObjectCollection? savedItems = _itemsCollection; 3256if (_itemsCollection is null) 3261if (_itemsCollection.Count == 0) 3417return $"{s}, Items.Count: {_itemsCollection?.Count ?? 0}"; 3431int itemCount = (_itemsCollection is null) ? 0 : _itemsCollection.Count;