6 writes to _children
System.Windows.Forms (6)
System\Windows\Forms\Controls\TreeView\TreeNode.cs (6)
1233
_children
= newOrder;
1267
_children
= newOrder;
1323
_children
= [];
1381
node.
_children
= new TreeNode[_childCount];
1612
_children
= new TreeNode[size];
1624
_children
= bigger;
41 references to _children
System.Windows.Forms (41)
System\Windows\Forms\Controls\TreeView\TreeNode.cs (35)
381
public TreeNode? FirstNode => _childCount == 0 ? null :
_children
[0];
652
return
_children
[_childCount - 1];
1138
if (compare.Compare(
_children
[_childCount - 1].Text, nodeText) <= 0)
1148
if (compare.Compare(
_children
[iT].Text, nodeText) <= 0)
1168
if (sorter.Compare(
_children
[iT] /*previous*/, node/*current*/) <= 0)
1209
if (
_children
[j] is null)
1220
if (compare.Compare(
_children
[j].Text,
_children
[min].Text) <= 0)
1227
newOrder[i] =
_children
[min];
1228
_children
[min] = null!;
1243
if (
_children
[j] is null)
1254
if (sorter.Compare(
_children
[j] /*previous*/,
_children
[min] /*current*/) <= 0)
1261
newOrder[i] =
_children
[min];
1262
_children
[min] = null!;
1320
_children
[_childCount - 1].Remove(true);
1384
node.Nodes.Add((TreeNode)
_children
[i].Clone());
1427
if (tv.SelectedNode ==
_children
[i])
1432
_children
[i].DoCollapse(tv);
1433
_children
[i].Collapse();
1610
if (
_children
is null ||
_children
.Length == 0)
1614
else if (_childCount + num >
_children
.Length)
1623
Array.Copy(
_children
, 0, bigger, 0, _childCount);
1696
_children
[i].ExpandAll();
1759
total +=
_children
[i].GetNodeCount(true);
1794
(
_children
[i] =
_children
[i - 1])._index = i;
1797
_children
[index] = node;
1917
_children
[i].Realize(true);
1951
_children
[i].Remove(false);
1960
(_parent.
_children
[i] = _parent.
_children
[i + 1])._index = i;
1964
_parent.
_children
[_parent._childCount - 1] = null;
2085
si.AddValue($"children{i}",
_children
[i], typeof(TreeNode));
System\Windows\Forms\Controls\TreeView\TreeNodeCollection.cs (6)
38
return _owner.
_children
[index];
47
TreeNode actual = _owner.
_children
[index];
339
_owner.
_children
[node._index] = node;
587
Array.Copy(_owner.
_children
, 0, dest, index, _owner._childCount);
623
if (_owner.
_children
is not null)
625
return new ArraySubsetEnumerator(_owner.
_children
, _owner._childCount);