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]); 473if (CheckBoxes && _savedCheckedItems is not null) 476if (_savedCheckedItems.Count > 0) 478foreach (ListViewItem item in _savedCheckedItems) 511_savedCheckedItems.Add(items[i]); 537if (CheckBoxes && _savedCheckedItems is not null) 540if (_savedCheckedItems.Count > 0) 542foreach (ListViewItem item in _savedCheckedItems) 5354_savedCheckedItems.Add(item); 5356else if (_savedCheckedItems is not null) 5358Debug.Assert(_savedCheckedItems.Contains(item), "somehow we lost track of one item"); 5359_savedCheckedItems.Remove(item);