51 writes to Name
Accessibility_Core_App (8)
CommonControl2.Designer.cs (8)
178treeNode1.Name = "Node10"; 180treeNode2.Name = "Node11"; 182treeNode3.Name = "Node1"; 184treeNode4.Name = "Node20"; 186treeNode5.Name = "Node2"; 188treeNode6.Name = "Node0"; 190treeNode7.Name = "Node4"; 192treeNode8.Name = "Node3";
System.Windows.Forms (12)
System\Windows\Forms\Controls\TreeView\TreeNode.cs (2)
1353node.Name = _name; 1509Name = serializationInfo.GetString(entry.Name);
System\Windows\Forms\Controls\TreeView\TreeNodeCollection.cs (10)
144Name = key 157Name = key, 171Name = key, 185Name = key 198Name = key, 506Name = key 519Name = key, 533Name = key, 547Name = key 560Name = key,
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\TreeNodeCollectionEditor.cs (2)
160newNode.Name = newNode.Text; 165newNode.Name = newNode.Text;
System.Windows.Forms.Tests (20)
SerializableTypesTests.cs (1)
349Name = "node1",
System\Windows\Forms\TreeNodeCollectionTests.cs (17)
144Name = "name1" 148Name = "name2" 152Name = "name2" 157Name = "name1" 161Name = "name2" 165Name = "name2" 198Name = "name1" 202Name = "name2" 206Name = "name2" 224Name = "8", 229Name = "5", 234Name = "7", 271Name = "8", 276Name = "5", 281Name = "7", 346TreeNode child1 = new() { Name = "name1" }; 347TreeNode child2 = new() { Name = "name2" };
System\Windows\Forms\TreeNodeTests.cs (2)
2106Name = value 2111node.Name = value;
WinFormsControlsTest (9)
ScrollableControls.Designer.cs (9)
384treeNode1.Name = "Node8"; 386treeNode2.Name = "Node7"; 388treeNode3.Name = "Node6"; 390treeNode4.Name = "Node5"; 392treeNode5.Name = "Node4"; 394treeNode6.Name = "Node3"; 396treeNode7.Name = "Node2"; 398treeNode8.Name = "Node1"; 400treeNode9.Name = "Node0";
22 references to Name
System.Windows.Forms (7)
System\Windows\Forms\Controls\TreeView\TreeNode.cs (4)
340$"isChecked on node '{Name}' did not match the state in TVM_GETITEM."); 1508case nameof(Name): 2062si.AddValue(nameof(Name), Name);
System\Windows\Forms\Controls\TreeView\TreeNodeCollection.cs (3)
265if (WindowsFormsUtils.SafeCompareStrings(treeNodeCollectionToLookIn[i].Name, key, ignoreCase: true)) 411if (WindowsFormsUtils.SafeCompareStrings(this[_lastAccessedIndex].Name, key, ignoreCase: true)) 420if (WindowsFormsUtils.SafeCompareStrings(this[i].Name, key, ignoreCase: true))
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\TreeNodeCollectionEditor.cs (1)
488_label2.Text = string.Format(SR.CollectionEditorProperties, node.Name.ToString());
System.Windows.Forms.Tests (14)
SerializableTypesTests.cs (1)
375Assert.Equal("node1", result.Name);
System\Windows\Forms\TreeNodeCollectionTests.cs (6)
38Assert.Empty(treeNode.Name); 369collection[key]?.Name.Should().Be(expectedNodeName); 402treeNode.Name.Should().Be(key); 417treeNode.Name.Should().Be(key); 432treeNode.Name.Should().Be(key); 471treeNode.Name.Should().Be(key);
System\Windows\Forms\TreeNodeTests.cs (7)
33Assert.Empty(node.Name); 73Assert.Empty(node.Name); 121Assert.Empty(node.Name); 164Assert.Empty(node.Name); 212Assert.Empty(node.Name); 2108Assert.Equal(expected, node.Name); 2112Assert.Equal(expected, node.Name);