3 writes to _itemsCollection
System.Windows.Forms (3)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (3)
623
_itemsCollection
??= new ObjectCollection(this);
2378
_itemsCollection
= null;
2979
_itemsCollection
= null;
15 references to _itemsCollection
System.Windows.Forms (15)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (15)
625
return
_itemsCollection
;
875
ArgumentOutOfRangeException.ThrowIfGreaterThanOrEqual(value,
_itemsCollection
?.Count ?? 0);
917
if (
_itemsCollection
is not null)
921
x =
_itemsCollection
.IndexOf(value);
1893
return FindStringInternal(s,
_itemsCollection
, startIndex, exact: false, ignoreCase: true);
1920
return FindStringInternal(s,
_itemsCollection
, startIndex, exact: true, ignoreCase);
1962
ArgumentOutOfRangeException.ThrowIfGreaterThanOrEqual(index,
_itemsCollection
?.Count ?? 0);
2350
if (
_itemsCollection
is not null)
2352
foreach (object item in
_itemsCollection
)
2977
ObjectCollection? savedItems =
_itemsCollection
;
3181
if (
_itemsCollection
is null)
3186
if (
_itemsCollection
.Count == 0)
3342
return $"{s}, Items.Count: {
_itemsCollection
?.Count ?? 0}";
3356
int itemCount = (
_itemsCollection
is null) ? 0 :
_itemsCollection
.Count;