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)
690
return
_itemsCollection
;
970
ArgumentOutOfRangeException.ThrowIfGreaterThanOrEqual(value,
_itemsCollection
?.Count ?? 0);
1012
if (
_itemsCollection
is not null)
1016
x =
_itemsCollection
.IndexOf(value);
1980
return FindStringInternal(s,
_itemsCollection
, startIndex, exact: false, ignoreCase: true);
2007
return FindStringInternal(s,
_itemsCollection
, startIndex, exact: true, ignoreCase);
2049
ArgumentOutOfRangeException.ThrowIfGreaterThanOrEqual(index,
_itemsCollection
?.Count ?? 0);
2462
if (
_itemsCollection
is not null)
2464
foreach (object item in
_itemsCollection
)
3102
ObjectCollection? savedItems =
_itemsCollection
;
3297
if (
_itemsCollection
is null)
3302
if (
_itemsCollection
.Count == 0)
3458
return $"{s}, Items.Count: {
_itemsCollection
?.Count ?? 0}";
3472
int itemCount = (
_itemsCollection
is null) ? 0 :
_itemsCollection
.Count;