4 writes to _selectedNode
System.Windows.Forms (4)
System\Windows\Forms\Controls\TreeView\TreeView.cs (4)
1120_selectedNode = null; 1124_selectedNode = value; 1851_selectedNode = null; 2025_selectedNode = SelectedNode;
8 references to _selectedNode
System.Windows.Forms (8)
System\Windows\Forms\Controls\TreeView\TreeNode.cs (1)
1801if (TreeView is not null && node == TreeView._selectedNode)
System\Windows\Forms\Controls\TreeView\TreeNodeCollection.cs (1)
343if (tv is not null && node == tv._selectedNode)
System\Windows\Forms\Controls\TreeView\TreeView.cs (6)
1100else if (_selectedNode is not null && _selectedNode.TreeView == this) 1102return _selectedNode; 1116Debug.Assert(_selectedNode is null || _selectedNode.TreeView != this, "handle is created, but we're still caching selectedNode"); 1850TreeNode? savedSelectedNode = _selectedNode;