1 write to _owner
System.Windows.Forms (1)
System\Windows\Forms\Controls\TreeView\TreeNodeCollection.cs (1)
23_owner = owner;
33 references to _owner
System.Windows.Forms (33)
System\Windows\Forms\Controls\TreeView\TreeNodeCollection.cs (33)
36ArgumentOutOfRangeException.ThrowIfGreaterThanOrEqual(index, _owner._childCount); 38return _owner._children[index]; 43ArgumentOutOfRangeException.ThrowIfGreaterThanOrEqual(index, _owner._childCount); 46TreeView tv = _owner._treeView!; 47TreeNode actual = _owner._children[index]; 115public int Count => _owner._childCount; 217TreeView? tv = _owner.TreeView; 225_owner.Nodes.FixedIndex = _owner._childCount; 228_owner.EnsureCapacity(nodes.Length); 234_owner.Nodes.FixedIndex = -1; 307_owner.CheckParentingCycle(node); 310TreeView? tv = _owner.TreeView; 322return _owner.AddSorted(tv, node); 325node._parent = _owner; 326int fixedIndex = _owner.Nodes.FixedIndex; 335_owner.EnsureCapacity(1); 336node._index = _owner._childCount; 339_owner._children[node._index] = node; 340_owner._childCount++; 443_owner.CheckParentingCycle(node); 446TreeView? tv = _owner.TreeView; 458_owner.AddSorted(tv, node); 467if (index > _owner._childCount) 469index = _owner._childCount; 472_owner.InsertNodeAt(index, node); 580_owner.Clear(); 585if (_owner._childCount > 0) 587Array.Copy(_owner._children, 0, dest, index, _owner._childCount); 623if (_owner._children is not null) 625return new ArraySubsetEnumerator(_owner._children, _owner._childCount);