6 writes to children
System.Windows.Forms (6)
winforms\Managed\System\WinForms\TreeNode.cs (6)
1165children = newOrder; 1189children = newOrder; 1242children = null; 1301node.children = new TreeNode[childCount]; 1508children = new TreeNode[size]; 1517children = bigger;
39 references to children
System.Windows.Forms (39)
winforms\Managed\System\WinForms\TreeNode.cs (34)
434return children[0]; 654return children[childCount-1]; 1093if (compare.Compare(children[childCount-1].Text, nodeText) <= 0) 1099if (compare.Compare(children[iT].Text, nodeText) <= 0) 1113if (sorter.Compare(children[iT] /*previous*/, node/*current*/) <= 0) 1149if (children[j] == null) 1155if (compare.Compare(children[j].Text, children[min].Text) <= 0) 1160newOrder[i] = children[min]; 1161children[min] = null; 1173if (children[j] == null) 1179if (sorter.Compare(children[j] /*previous*/, children[min] /*current*/) <= 0) 1184newOrder[i] = children[min]; 1185children[min] = null; 1240children[childCount - 1].Remove(true); 1303node.Nodes.Add((TreeNode)children[i].Clone()); 1339if (tv.SelectedNode == children[i]) { 1342children[i].DoCollapse(tv); 1343children[i].Collapse(); 1507if (children == null) { 1510else if (childCount + num > children.Length) { 1516System.Array.Copy(children, 0, bigger, 0, childCount); 1583children[i].ExpandAll(); 1621total += children[i].GetNodeCount(true); 1636(children[i] = children[i-1]).index = i; 1638children[index] = node; 1746children[i].Realize(true); 1781children[i].Remove(false); 1786(parent.children[i] = parent.children[i+1]).index = i; 1791parent.children[parent.childCount - 1] = null; 1878si.AddValue("children" + i, children[i], typeof(TreeNode));
winforms\Managed\System\WinForms\TreeNodeCollection.cs (5)
67return owner.children[index]; 74owner.children[index] = value; 341owner.children[node.index] = node; 582System.Array.Copy(owner.children, 0, dest, index, owner.childCount); 627return new WindowsFormsUtils.ArraySubsetEnumerator(owner.children, owner.childCount);