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)
625
return
_itemsCollection
;
876
ArgumentOutOfRangeException.ThrowIfGreaterThanOrEqual(value,
_itemsCollection
?.Count ?? 0);
918
if (
_itemsCollection
is not null)
922
x =
_itemsCollection
.IndexOf(value);
1894
return FindStringInternal(s,
_itemsCollection
, startIndex, exact: false, ignoreCase: true);
1921
return FindStringInternal(s,
_itemsCollection
, startIndex, exact: true, ignoreCase);
1963
ArgumentOutOfRangeException.ThrowIfGreaterThanOrEqual(index,
_itemsCollection
?.Count ?? 0);
2351
if (
_itemsCollection
is not null)
2353
foreach (object item in
_itemsCollection
)
2978
ObjectCollection? savedItems =
_itemsCollection
;
3182
if (
_itemsCollection
is null)
3187
if (
_itemsCollection
.Count == 0)
3343
return $"{s}, Items.Count: {
_itemsCollection
?.Count ?? 0}";
3357
int itemCount = (
_itemsCollection
is null) ? 0 :
_itemsCollection
.Count;