3 writes to _itemsCollection
System.Windows.Forms (3)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (3)
688_itemsCollection ??= new ObjectCollection(this); 2498_itemsCollection = null; 3104_itemsCollection = null;
15 references to _itemsCollection
System.Windows.Forms (15)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (15)
690return _itemsCollection; 970ArgumentOutOfRangeException.ThrowIfGreaterThanOrEqual(value, _itemsCollection?.Count ?? 0); 1012if (_itemsCollection is not null) 1016x = _itemsCollection.IndexOf(value); 1980return FindStringInternal(s, _itemsCollection, startIndex, exact: false, ignoreCase: true); 2007return FindStringInternal(s, _itemsCollection, startIndex, exact: true, ignoreCase); 2049ArgumentOutOfRangeException.ThrowIfGreaterThanOrEqual(index, _itemsCollection?.Count ?? 0); 2462if (_itemsCollection is not null) 2464foreach (object item in _itemsCollection) 3102ObjectCollection? savedItems = _itemsCollection; 3297if (_itemsCollection is null) 3302if (_itemsCollection.Count == 0) 3458return $"{s}, Items.Count: {_itemsCollection?.Count ?? 0}"; 3472int itemCount = (_itemsCollection is null) ? 0 : _itemsCollection.Count;