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)
131Name = "GroupName",
System\Windows\Forms\ListViewGroupCollectionTests.cs (4)
271Name = "text" 292Name = "text" 318Name = "text" 341Name = "text"
System\Windows\Forms\ListViewGroupTests.cs (3)
1182Name = value 1188group.Name = value; 1324yield 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)
150Assert.Equal("GroupName", result.Name);
System\Windows\Forms\ListViewGroupCollectionTests.cs (1)
512Assert.Equal(key, group.Name);
System\Windows\Forms\ListViewGroupTests.cs (8)
28Assert.Null(group.Name); 49Assert.Null(group.Name); 79Assert.Null(group.Name); 107Assert.Equal(key, group.Name); 1185Assert.Same(value, group.Name); 1189Assert.Same(value, group.Name); 1353Assert.Equal(group.Name, result.Name);