3 writes to _parent
System.Windows.Forms (3)
System\Windows\Forms\Controls\TreeView\TreeNode.cs (2)
1787node._parent = this; 1965_parent = null;
System\Windows\Forms\Controls\TreeView\TreeNodeCollection.cs (1)
324node._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]; 1705while (node._parent is not null) 1707node = node._parent; 1734if (_parent is not null) 1736_parent.GetFullPath(path, pathSeparator); 1737if (_parent._parent is not null) 1777node = node._parent; 1823if (_parent is not null) 1833hParent = _parent.HTREEITEMInternal 1900if (_parent._nodesCleared && (insertFirst || prev is null) && !tv.Scrollable) 1953if (notify && _parent is not null) 1955for (int i = _index; i < _parent._childCount - 1; ++i) 1957(_parent._children[i] = _parent._children[i + 1])._index = i; 1961_parent._children[_parent._childCount - 1] = null; 1963_parent._childCount--; 2098Debug.Assert(_parent is not null, "toggle on virtual root");