3 writes to _itemsCollection
System.Windows.Forms (3)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (3)
628
_itemsCollection
??= new ObjectCollection(this);
2375
_itemsCollection
= null;
2973
_itemsCollection
= null;
15 references to _itemsCollection
System.Windows.Forms (15)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (15)
630
return
_itemsCollection
;
881
ArgumentOutOfRangeException.ThrowIfGreaterThanOrEqual(value,
_itemsCollection
?.Count ?? 0);
923
if (
_itemsCollection
is not null)
927
x =
_itemsCollection
.IndexOf(value);
1892
return FindStringInternal(s,
_itemsCollection
, startIndex, exact: false, ignoreCase: true);
1919
return FindStringInternal(s,
_itemsCollection
, startIndex, exact: true, ignoreCase);
1961
ArgumentOutOfRangeException.ThrowIfGreaterThanOrEqual(index,
_itemsCollection
?.Count ?? 0);
2347
if (
_itemsCollection
is not null)
2349
foreach (object item in
_itemsCollection
)
2971
ObjectCollection? savedItems =
_itemsCollection
;
3166
if (
_itemsCollection
is null)
3171
if (
_itemsCollection
.Count == 0)
3327
return $"{s}, Items.Count: {
_itemsCollection
?.Count ?? 0}";
3341
int itemCount = (
_itemsCollection
is null) ? 0 :
_itemsCollection
.Count;