4 writes to _selectedItem
System.Windows.Forms.Design (4)
System\Windows\Forms\Design\DesignBindingPicker.cs (4)
433_selectedItem = null; 520_selectedItem = initialSelectedItem; 575_selectedItem = null; 2054picker._selectedItem = pickerNode is not null && pickerNode.CanSelect && pickerNode.Error is null
19 references to _selectedItem
System.Windows.Forms.Design (19)
System\Windows\Forms\Design\DesignBindingPicker.cs (19)
432DesignBinding? finalSelectedItem = _selectedItem; 687if (_selectedItem is not null && _selectedItem.Equals(dataSource, "")) 824if (_selectedItem is not null && _selectedItem.Equals(dataSource, dataMember) && dataMemberNode is not null) 884if (_selectedItem is not null && _selectedItem.DataSource == dataMemberNode.DataSource) 886if (_selectedItem.Equals(dataSource, dataMemberNode.DataMember)) 893if (!string.IsNullOrEmpty(_selectedItem.DataMember) 894&& _selectedItem.DataMember.StartsWith(dataMemberNode.DataMember, StringComparison.Ordinal)) 944bool addMembers = (_selectedItem is not null && _selectedItem.DataSource is DataSourceDescriptor); 1028if (_selectedItem is not null && string.IsNullOrEmpty(_selectedItem.DataMember)) 1035if (_selectedItem.DataSource is DataSourceDescriptor && _selectedItem.DataSource is DataSourceDescriptor dataSourceDescriptor && 1046else if (_selectedItem.DataSource is Type && _selectedItem.DataSource is Type type_ && 2058if (picker._selectedItem is not null)