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