3 writes to _itemsCollection
System.Windows.Forms (3)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (3)
659
_itemsCollection
??= new ObjectCollection(this);
2441
_itemsCollection
= null;
3054
_itemsCollection
= null;
15 references to _itemsCollection
System.Windows.Forms (15)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (15)
661
return
_itemsCollection
;
919
ArgumentOutOfRangeException.ThrowIfGreaterThanOrEqual(value,
_itemsCollection
?.Count ?? 0);
961
if (
_itemsCollection
is not null)
965
x =
_itemsCollection
.IndexOf(value);
1946
return FindStringInternal(s,
_itemsCollection
, startIndex, exact: false, ignoreCase: true);
1973
return FindStringInternal(s,
_itemsCollection
, startIndex, exact: true, ignoreCase);
2015
ArgumentOutOfRangeException.ThrowIfGreaterThanOrEqual(index,
_itemsCollection
?.Count ?? 0);
2413
if (
_itemsCollection
is not null)
2415
foreach (object item in
_itemsCollection
)
3052
ObjectCollection? savedItems =
_itemsCollection
;
3256
if (
_itemsCollection
is null)
3261
if (
_itemsCollection
.Count == 0)
3417
return $"{s}, Items.Count: {
_itemsCollection
?.Count ?? 0}";
3431
int itemCount = (
_itemsCollection
is null) ? 0 :
_itemsCollection
.Count;