12 writes to Name
System.Windows.Forms (4)
System\Windows\Forms\Controls\ListView\ListView.ListViewItemCollection.cs (4)
193Name = key 208Name = key 414Name = key 420Name = key
System.Windows.Forms.Tests (7)
System\Windows\Forms\ListView.ListViewItemCollectionTests.cs (6)
17Name = "name1" 21Name = "name2" 25Name = "name2" 73Name = "name1" 77Name = "name2" 81Name = "name2"
System\Windows\Forms\ListViewTests.cs (1)
5829listView.Items.Add(new ListViewItem("Test 1") { Name = "Test 1" });
WinFormsControlsTest (1)
ListViewTest.cs (1)
255Name = file,
31 references to Name
System.Windows.Forms (7)
System\Windows\Forms\Controls\ListView\ListView.CheckedListViewItemCollection.cs (2)
244if (WindowsFormsUtils.SafeCompareStrings(this[_lastAccessedIndex].Name, key, /* ignoreCase = */ true)) 253if (WindowsFormsUtils.SafeCompareStrings(this[i].Name, key, /* ignoreCase = */ true))
System\Windows\Forms\Controls\ListView\ListView.ListViewItemCollection.cs (3)
283if (WindowsFormsUtils.SafeCompareStrings(listViewItems[i].Name, key, ignoreCase: true)) 346if (WindowsFormsUtils.SafeCompareStrings(this[_lastAccessedIndex].Name, key, /* ignoreCase = */ true)) 355if (WindowsFormsUtils.SafeCompareStrings(this[i].Name, key, /* ignoreCase = */ true))
System\Windows\Forms\Controls\ListView\ListView.SelectedListViewItemCollection.cs (2)
405if (WindowsFormsUtils.SafeCompareStrings(this[_lastAccessedIndex].Name, key, /* ignoreCase = */ true)) 414if (WindowsFormsUtils.SafeCompareStrings(this[i].Name, key, /* ignoreCase = */ true))
System.Windows.Forms.Tests (22)
System\Windows\Forms\ListViewItemTests.cs (22)
29Assert.Empty(item.Name); 68Assert.Empty(item.Name); 106Assert.Empty(item.Name); 144Assert.Empty(item.Name); 182Assert.Empty(item.Name); 219Assert.Empty(item.Name); 256Assert.Empty(item.Name); 294Assert.Empty(item.Name); 332Assert.Empty(item.Name); 369Assert.Empty(item.Name); 407Assert.Empty(item.Name); 445Assert.Empty(item.Name); 482Assert.Empty(item.Name); 520Assert.Empty(item.Name); 558Assert.Empty(item.Name); 596Assert.Empty(item.Name); 633Assert.Empty(item.Name); 671Assert.Empty(item.Name); 709Assert.Empty(item.Name); 746Assert.Empty(item.Name); 785Assert.Empty(item.Name); 815Assert.Empty(item.Name);
System.Windows.Forms.UI.IntegrationTests (2)
DragDropTests.cs (2)
332Assert.Equal(listViewItem?.Name, data.Name);