2 writes to itemsSorted
System.Windows.Forms (2)
winforms\Managed\System\WinForms\DataGridViewColumnCollection.cs (2)
1031
this.
itemsSorted
= null;
1248
this.
itemsSorted
= (ArrayList) this.items.Clone();
19 references to itemsSorted
System.Windows.Forms (19)
winforms\Managed\System\WinForms\DataGridViewColumnCollection.cs (19)
612
Debug.Assert(this.
itemsSorted
!= null);
620
this.
itemsSorted
[this.lastAccessedSortedIndex] == dataGridViewColumn)
626
while (index < this.
itemsSorted
.Count)
628
if (dataGridViewColumn.Index == ((DataGridViewColumn) this.
itemsSorted
[index]).Index)
711
if (this.
itemsSorted
== null)
719
while (index < this.
itemsSorted
.Count)
721
DataGridViewColumn dataGridViewColumn = (DataGridViewColumn)this.
itemsSorted
[index];
751
if (this.
itemsSorted
== null)
759
while (index < this.
itemsSorted
.Count)
761
DataGridViewColumn dataGridViewColumn = (DataGridViewColumn)this.
itemsSorted
[index];
788
if (this.
itemsSorted
== null)
795
int index = this.
itemsSorted
.Count - 1;
798
DataGridViewColumn dataGridViewColumn = (DataGridViewColumn) this.
itemsSorted
[index];
830
if (this.
itemsSorted
== null)
866
while (index < this.
itemsSorted
.Count)
868
DataGridViewColumn dataGridViewColumn = (DataGridViewColumn)this.
itemsSorted
[index];
902
if (this.
itemsSorted
== null)
940
DataGridViewColumn dataGridViewColumn = (DataGridViewColumn)this.
itemsSorted
[index];
1249
this.
itemsSorted
.Sort(columnOrderComparer);