3 writes to savedSelectedItems
System.Windows.Forms (3)
winforms\Managed\System\WinForms\ListView.cs (3)
2304
this.
savedSelectedItems
= new List<ListViewItem>();
4392
savedSelectedItems
= new List<ListViewItem>(lviArr.Length);
7231
this.owner.
savedSelectedItems
= null;
21 references to savedSelectedItems
System.Windows.Forms (21)
winforms\Managed\System\WinForms\ListView.cs (21)
2303
if (this.
savedSelectedItems
== null) {
2306
if (!this.
savedSelectedItems
.Contains(lvi)) {
2307
this.
savedSelectedItems
.Add(lvi);
2310
if (this.
savedSelectedItems
!= null && this.
savedSelectedItems
.Contains(lvi)) {
2311
this.
savedSelectedItems
.Remove(lvi);
4394
savedSelectedItems
.Add(lviArr[i]);
6993
if (owner.
savedSelectedItems
!= null) {
6994
return owner.
savedSelectedItems
.Count;
7020
Debug.Assert(owner.
savedSelectedItems
!= null || count == 0, "if the count of selectedItems is greater than 0 then the selectedItems should have been saved by now");
7022
indices[i] = owner.
savedSelectedItems
[i].Index;
7055
Debug.Assert(owner.
savedSelectedItems
!= null, "Null selected items collection");
7056
return owner.
savedSelectedItems
[index].Index;
7331
if (owner.
savedSelectedItems
!= null) {
7332
ListViewItem[] cloned = new ListViewItem[owner.
savedSelectedItems
.Count];
7333
for (int i = 0; i < owner.
savedSelectedItems
.Count; i ++) {
7334
cloned[i] = owner.
savedSelectedItems
[i];
7360
if (owner.
savedSelectedItems
!= null) {
7361
return owner.
savedSelectedItems
.Count;
7397
Debug.Assert(owner.
savedSelectedItems
!= null, "Null selected items collection");
7398
return owner.
savedSelectedItems
[index];