4 writes to _selectedNode
System.Windows.Forms (4)
System\Windows\Forms\Controls\TreeView\TreeView.cs (4)
1118_selectedNode = null; 1122_selectedNode = value; 1849_selectedNode = null; 2022_selectedNode = SelectedNode;
8 references to _selectedNode
System.Windows.Forms (8)
System\Windows\Forms\Controls\TreeView\TreeNode.cs (1)
1798if (TreeView is not null && node == TreeView._selectedNode)
System\Windows\Forms\Controls\TreeView\TreeNodeCollection.cs (1)
342if (tv is not null && node == tv._selectedNode)
System\Windows\Forms\Controls\TreeView\TreeView.cs (6)
1098else if (_selectedNode is not null && _selectedNode.TreeView == this) 1100return _selectedNode; 1114Debug.Assert(_selectedNode is null || _selectedNode.TreeView != this, "handle is created, but we're still caching selectedNode"); 1848TreeNode? savedSelectedNode = _selectedNode;