3 writes to _parent
System.Windows.Forms (3)
System\Windows\Forms\Controls\TreeView\TreeNode.cs (2)
1790node._parent = this; 1968_parent = null;
System\Windows\Forms\Controls\TreeView\TreeNodeCollection.cs (1)
325node._parent = _owner;
27 references to _parent
System.Windows.Forms (27)
System\Windows\Forms\Controls\TreeView\TreeNode.cs (27)
670if (_parent is not null && _index + 1 < _parent.Nodes.Count) 672return _parent.Nodes[_index + 1]; 797if (tv is not null && _parent == tv._root) 802return _parent; 814if (_parent is null) 821int fixedInd = _parent.Nodes.FixedIndex; 828if (currentInd > 0 && currentInd <= _parent.Nodes.Count) 830return _parent.Nodes[currentInd - 1]; 1708while (node._parent is not null) 1710node = node._parent; 1737if (_parent is not null) 1739_parent.GetFullPath(path, pathSeparator); 1740if (_parent._parent is not null) 1780node = node._parent; 1826if (_parent is not null) 1836hParent = _parent.HTREEITEMInternal 1903if (_parent._nodesCleared && (insertFirst || prev is null) && !tv.Scrollable) 1956if (notify && _parent is not null) 1958for (int i = _index; i < _parent._childCount - 1; ++i) 1960(_parent._children[i] = _parent._children[i + 1])._index = i; 1964_parent._children[_parent._childCount - 1] = null; 1966_parent._childCount--; 2103Debug.Assert(_parent is not null, "toggle on virtual root");