2 writes to listItemsArray
System.Windows.Forms (2)
winforms\Managed\System\WinForms\ListView.cs (2)
4319
listItemsArray
= null;
4407
listItemsArray
= new ArrayList(items.Length);
26 references to listItemsArray
System.Windows.Forms (26)
winforms\Managed\System\WinForms\ListView.cs (26)
3277
Debug.Assert(
listItemsArray
== null, "listItemsArray not null, even though handle created");
3298
Debug.Assert(
listItemsArray
!= null, "listItemsArray is null, but the handle isn't created");
3301
foreach (object o in
listItemsArray
) {
3820
Debug.Assert(
listItemsArray
!= null, "listItemsArray is null, but the handle isn't created");
3821
listItemsArray
.Insert(displayIndex + i, item);
3828
Debug.Assert(
listItemsArray
== null, "listItemsArray not null, even though handle created");
4317
if(
listItemsArray
!= null) {
4318
listViewItemsToAdd = (ListViewItem[])
listItemsArray
.ToArray(typeof(ListViewItem));
4397
Debug.Assert(
listItemsArray
== null, "listItemsArray not null, even though handle created");
4408
listItemsArray
.AddRange(items);
5203
if (
listItemsArray
!= null) {
5204
s += ", Items.Count: " +
listItemsArray
.Count.ToString(CultureInfo.CurrentCulture);
5205
if (
listItemsArray
.Count > 0) {
5206
string z =
listItemsArray
[0].ToString();
8871
Debug.Assert(owner.
listItemsArray
== null, "listItemsArray not null, even though handle created");
8875
Debug.Assert(owner.
listItemsArray
!= null, "listItemsArray is null, but the handle isn't created");
8876
return (ListViewItem)owner.
listItemsArray
[displayIndex];
9023
Debug.Assert(owner.
listItemsArray
== null, "listItemsArray not null, even though handle created");
9051
Debug.Assert(owner.
listItemsArray
!= null, "listItemsArray is null, but the handle isn't created");
9052
owner.
listItemsArray
.Clear();
9072
Debug.Assert(owner.
listItemsArray
== null, "listItemsArray not null, even though handle created");
9076
Debug.Assert(owner.
listItemsArray
!= null, "listItemsArray is null, but the handle isn't created");
9077
return owner.
listItemsArray
.Contains(item);
9162
Debug.Assert(owner.
listItemsArray
== null, "listItemsArray not null, even though handle created");
9171
Debug.Assert(owner.
listItemsArray
!= null, "listItemsArray is null, but the handle isn't created");
9172
owner.
listItemsArray
.RemoveAt(index);