3 writes to _itemsCollection
System.Windows.Forms (3)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (3)
623_itemsCollection ??= new ObjectCollection(this); 2379_itemsCollection = null; 2980_itemsCollection = null;
15 references to _itemsCollection
System.Windows.Forms (15)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (15)
625return _itemsCollection; 876ArgumentOutOfRangeException.ThrowIfGreaterThanOrEqual(value, _itemsCollection?.Count ?? 0); 918if (_itemsCollection is not null) 922x = _itemsCollection.IndexOf(value); 1894return FindStringInternal(s, _itemsCollection, startIndex, exact: false, ignoreCase: true); 1921return FindStringInternal(s, _itemsCollection, startIndex, exact: true, ignoreCase); 1963ArgumentOutOfRangeException.ThrowIfGreaterThanOrEqual(index, _itemsCollection?.Count ?? 0); 2351if (_itemsCollection is not null) 2353foreach (object item in _itemsCollection) 2978ObjectCollection? savedItems = _itemsCollection; 3182if (_itemsCollection is null) 3187if (_itemsCollection.Count == 0) 3343return $"{s}, Items.Count: {_itemsCollection?.Count ?? 0}"; 3357int itemCount = (_itemsCollection is null) ? 0 : _itemsCollection.Count;