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