2 writes to _listViewItems
System.Windows.Forms (2)
System\Windows\Forms\Controls\ListView\ListView.cs (2)
4599_listViewItems = null; 4691_listViewItems = [.. items];
21 references to _listViewItems
System.Windows.Forms (21)
System\Windows\Forms\Controls\ListView\ListView.cs (11)
3429Debug.Assert(_listViewItems is not null, "listItemsArray is null, but the handle isn't created"); 3432foreach (ListViewItem listViewItem in _listViewItems) 4054Debug.Assert(_listViewItems is not null, "listItemsArray is null, but the handle isn't created"); 4055_listViewItems.Insert(displayIndex + i, item); 4596if (_listViewItems is not null) 4598listViewItemsToAdd = [.. _listViewItems]; 4685Debug.Assert(_listViewItems is null, "listItemsArray not null, even though handle created"); 5560if (_listViewItems is not null) 5562s += $", Items.Count: {_listViewItems.Count}"; 5563if (_listViewItems.Count > 0) 5565string z = _listViewItems[0].ToString();
System\Windows\Forms\Controls\ListView\ListView.ListViewNativeItemCollection.cs (10)
91Debug.Assert(_owner._listViewItems is not null, "listItemsArray is null, but the handle isn't created"); 92return _owner._listViewItems[index]; 259Debug.Assert(_owner._listViewItems is null, "listItemsArray not null, even though handle created"); 289Debug.Assert(_owner._listViewItems is not null, "listItemsArray is null, but the handle isn't created"); 290_owner._listViewItems.Clear(); 317Debug.Assert(_owner._listViewItems is not null, "listItemsArray is null, but the handle isn't created"); 318return _owner._listViewItems.Contains(item); 420Debug.Assert(_owner._listViewItems is null, "listItemsArray not null, even though handle created"); 428Debug.Assert(_owner._listViewItems is not null, "listItemsArray is null, but the handle isn't created"); 429_owner._listViewItems.RemoveAt(index);