7 writes to _savedCheckedItems
System.Windows.Forms (7)
System\Windows\Forms\Controls\ListView\ListView.cs (6)
461
_savedCheckedItems
= new List<ListViewItem>(CheckedItems.Count);
484
_savedCheckedItems
= null;
506
_savedCheckedItems
= new List<ListViewItem>(CheckedItems.Count);
548
_savedCheckedItems
= null;
4647
_savedCheckedItems
= null;
5353
_savedCheckedItems
??= [];
System\Windows\Forms\Controls\ListView\ListView.ListViewNativeItemCollection.cs (1)
296
_owner.
_savedCheckedItems
= null;
12 references to _savedCheckedItems
System.Windows.Forms (12)
System\Windows\Forms\Controls\ListView\ListView.cs (12)
466
_savedCheckedItems
.Add(items[i]);
473
if (CheckBoxes &&
_savedCheckedItems
is not null)
476
if (
_savedCheckedItems
.Count > 0)
478
foreach (ListViewItem item in
_savedCheckedItems
)
511
_savedCheckedItems
.Add(items[i]);
537
if (CheckBoxes &&
_savedCheckedItems
is not null)
540
if (
_savedCheckedItems
.Count > 0)
542
foreach (ListViewItem item in
_savedCheckedItems
)
5354
_savedCheckedItems
.Add(item);
5356
else if (
_savedCheckedItems
is not null)
5358
Debug.Assert(
_savedCheckedItems
.Contains(item), "somehow we lost track of one item");
5359
_savedCheckedItems
.Remove(item);