3 writes to _itemsCollection
System.Windows.Forms (3)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (3)
684
_itemsCollection
??= new ObjectCollection(this);
2485
_itemsCollection
= null;
3091
_itemsCollection
= null;
15 references to _itemsCollection
System.Windows.Forms (15)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (15)
686
return
_itemsCollection
;
966
ArgumentOutOfRangeException.ThrowIfGreaterThanOrEqual(value,
_itemsCollection
?.Count ?? 0);
1008
if (
_itemsCollection
is not null)
1012
x =
_itemsCollection
.IndexOf(value);
1976
return FindStringInternal(s,
_itemsCollection
, startIndex, exact: false, ignoreCase: true);
2003
return FindStringInternal(s,
_itemsCollection
, startIndex, exact: true, ignoreCase);
2045
ArgumentOutOfRangeException.ThrowIfGreaterThanOrEqual(index,
_itemsCollection
?.Count ?? 0);
2452
if (
_itemsCollection
is not null)
2454
foreach (object item in
_itemsCollection
)
3089
ObjectCollection? savedItems =
_itemsCollection
;
3284
if (
_itemsCollection
is null)
3289
if (
_itemsCollection
.Count == 0)
3445
return $"{s}, Items.Count: {
_itemsCollection
?.Count ?? 0}";
3459
int itemCount = (
_itemsCollection
is null) ? 0 :
_itemsCollection
.Count;