11 writes to Name
System.Windows.Forms (2)
System\Windows\Forms\Controls\ListView\ListViewGroup.cs (2)
56Name = key; 375Name = (string)entry.Value!;
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ListViewGroupCollectionEditor.cs (1)
30group.Name = CreateListViewGroupName((ListViewGroupCollection)_editValue);
System.Windows.Forms.Tests (8)
SerializableTypesTests.cs (1)
129Name = "GroupName",
System\Windows\Forms\ListViewGroupCollectionTests.cs (4)
269Name = "text" 290Name = "text" 316Name = "text" 339Name = "text"
System\Windows\Forms\ListViewGroupTests.cs (3)
1180Name = value 1186group.Name = value; 1322yield return new object[] { new ListViewGroup("header", HorizontalAlignment.Center) { Name = "name", Tag = "tag" } };
16 references to Name
System.Windows.Forms (6)
System\Windows\Forms\Controls\ListView\ListViewGroup.cs (3)
461if (!string.IsNullOrEmpty(Name)) 463info.AddValue(nameof(Name), Name);
System\Windows\Forms\Controls\ListView\ListViewGroupCollection.cs (2)
65if (string.Equals(key, this[i].Name, StringComparison.CurrentCulture)) 86if (string.Equals(key, this[i].Name, StringComparison.CurrentCulture))
System\Windows\Forms\Controls\ListView\ListViewItem.cs (1)
1235_groupName = group.Name;
System.Windows.Forms.Tests (10)
SerializableTypesTests.cs (1)
148Assert.Equal("GroupName", result.Name);
System\Windows\Forms\ListViewGroupCollectionTests.cs (1)
510Assert.Equal(key, group.Name);
System\Windows\Forms\ListViewGroupTests.cs (8)
26Assert.Null(group.Name); 47Assert.Null(group.Name); 77Assert.Null(group.Name); 105Assert.Equal(key, group.Name); 1183Assert.Same(value, group.Name); 1187Assert.Same(value, group.Name); 1351Assert.Equal(group.Name, result.Name);