3 writes to _itemsCollection
System.Windows.Forms (3)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (3)
637
_itemsCollection
??= new ObjectCollection(this);
2388
_itemsCollection
= null;
2986
_itemsCollection
= null;
15 references to _itemsCollection
System.Windows.Forms (15)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (15)
639
return
_itemsCollection
;
890
ArgumentOutOfRangeException.ThrowIfGreaterThanOrEqual(value,
_itemsCollection
?.Count ?? 0);
932
if (
_itemsCollection
is not null)
936
x =
_itemsCollection
.IndexOf(value);
1905
return FindStringInternal(s,
_itemsCollection
, startIndex, exact: false, ignoreCase: true);
1932
return FindStringInternal(s,
_itemsCollection
, startIndex, exact: true, ignoreCase);
1974
ArgumentOutOfRangeException.ThrowIfGreaterThanOrEqual(index,
_itemsCollection
?.Count ?? 0);
2360
if (
_itemsCollection
is not null)
2362
foreach (object item in
_itemsCollection
)
2984
ObjectCollection? savedItems =
_itemsCollection
;
3179
if (
_itemsCollection
is null)
3184
if (
_itemsCollection
.Count == 0)
3340
return $"{s}, Items.Count: {
_itemsCollection
?.Count ?? 0}";
3354
int itemCount = (
_itemsCollection
is null) ? 0 :
_itemsCollection
.Count;