36 writes to Name
System.Windows.Forms (8)
System\Windows\Forms\Controls\ListView\ListView.ColumnHeaderCollection.cs (8)
216Name = key, 226Name = key, 237Name = key, 249Name = key, 452Name = key, 462Name = key, 473Name = key, 485Name = key,
System.Windows.Forms.Tests (28)
System\Windows\Forms\AccessibleObjects\ListVIew.ListViewAccessibleObjectTests.cs (3)
1402listView.Columns.Add(new ColumnHeader() { Name = "Column 1" }); 1403listView.Columns.Add(new ColumnHeader() { Name = "Column 2" }); 1404listView.Columns.Add(new ColumnHeader() { Name = "Column 3" });
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemAccessibleObjectTests.cs (3)
1213listView.Columns.Add(new ColumnHeader() { Name = "Column 1" }); 1214listView.Columns.Add(new ColumnHeader() { Name = "Column 2" }); 1215listView.Columns.Add(new ColumnHeader() { Name = "Column 3" });
System\Windows\Forms\ColumnHeaderCollectionTests.cs (4)
116Name = "text" 573Name = "text" 654Name = "text" 1078Name = "text"
System\Windows\Forms\ColumnHeaderTests.cs (17)
779Name = value 784header.Name = value; 796header.Name = value; 801header.Name = value; 821header.Name = value; 829header.Name = value; 844Name = value 850header.Name = value; 863header.Name = null; 868header.Name = string.Empty; 873header.Name = "name"; 890header.Name = null; 895header.Name = string.Empty; 900header.Name = "name"; 1465Name = "name", 1502Name = "name", 1540Name = "name",
System\Windows\Forms\ListViewTests.cs (1)
6194listView.Columns.Add(new ColumnHeader() { Name = "Column 1" });
38 references to Name
System.Windows.Forms (3)
System\Windows\Forms\Controls\ListView\ColumnHeader.cs (1)
493return !string.IsNullOrEmpty(Name);
System\Windows\Forms\Controls\ListView\ListView.ColumnHeaderCollection.cs (2)
141if (WindowsFormsUtils.SafeCompareStrings(this[_lastAccessedIndex].Name, key, /* ignoreCase = */ true)) 150if (WindowsFormsUtils.SafeCompareStrings(this[i].Name, key, /* ignoreCase = */ true))
System.Windows.Forms.Tests (35)
System\Windows\Forms\ColumnHeaderCollectionTests.cs (8)
235Assert.Equal(expectedName, header.Name); 257Assert.Equal(expectedName, header.Name); 280Assert.Equal(expectedName, header.Name); 305Assert.Equal(expectedName, header.Name); 761Assert.Equal(expectedName, header.Name); 774Assert.Equal(expectedName, header.Name); 788Assert.Equal(expectedName, header.Name); 804Assert.Equal(expectedName, header.Name);
System\Windows\Forms\ColumnHeaderTests.cs (27)
27Assert.Empty(header.Name); 53Assert.Empty(header.Name); 77Assert.Empty(header.Name); 770Assert.Equal(expected, header.Name); 781Assert.Equal(expected, header.Name); 785Assert.Equal(expected, header.Name); 797Assert.Equal(expected, header.Name); 802Assert.Equal(expected, header.Name); 822Assert.Equal(expected, header.Name); 830Assert.Equal(expected, header.Name); 846Assert.Equal(expected, header.Name); 851Assert.Equal(expected, header.Name); 858PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(ColumnHeader))[nameof(ColumnHeader.Name)]; 864Assert.Empty(header.Name); 869Assert.Empty(header.Name); 874Assert.Equal("name", header.Name); 878Assert.Equal("name", header.Name); 885PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(ColumnHeader))[nameof(ColumnHeader.Name)]; 891Assert.Empty(header.Name); 896Assert.Empty(header.Name); 901Assert.Equal("name", header.Name); 905Assert.Equal("name", header.Name); 914PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(ColumnHeader))[nameof(ColumnHeader.Name)]; 931Assert.Equal(resultingName, header.Name); 1481Assert.Empty(header.Name); 1520Assert.Empty(header.Name); 1560Assert.Empty(header.Name);