14 references to new
Accessibility_Core_App (4)
CommonControl2.Designer.cs (4)
33System.Windows.Forms.TreeNode treeNode3 = new("Node1", new [] { 37System.Windows.Forms.TreeNode treeNode5 = new("Node2", new [] { 39System.Windows.Forms.TreeNode treeNode6 = new("Node0", new [] { 43System.Windows.Forms.TreeNode treeNode8 = new("Node3", new [] {
System.Windows.Forms.Tests (2)
System\Windows\Forms\TreeNodeTests.cs (2)
104TreeNode node = new(text, children); 234Assert.Throws<ArgumentNullException>("nodes", () => new TreeNode("text", null));
WinFormsControlsTest (8)
ScrollableControls.Designer.cs (8)
37TreeNode treeNode2 = new TreeNode("Node7", new TreeNode[] { treeNode1 }); 38TreeNode treeNode3 = new TreeNode("Node6", new TreeNode[] { treeNode2 }); 39TreeNode treeNode4 = new TreeNode("Node5", new TreeNode[] { treeNode3 }); 40TreeNode treeNode5 = new TreeNode("Node4", new TreeNode[] { treeNode4 }); 41TreeNode treeNode6 = new TreeNode("Node3", new TreeNode[] { treeNode5 }); 42TreeNode treeNode7 = new TreeNode("Node2", new TreeNode[] { treeNode6 }); 43TreeNode treeNode8 = new TreeNode("Node1", new TreeNode[] { treeNode7 }); 44TreeNode treeNode9 = new TreeNode("Node0", new TreeNode[] { treeNode8 });