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;
2054
picker.
_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)
432
DesignBinding? finalSelectedItem =
_selectedItem
;
687
if (
_selectedItem
is not null &&
_selectedItem
.Equals(dataSource, ""))
824
if (
_selectedItem
is not null &&
_selectedItem
.Equals(dataSource, dataMember) && dataMemberNode is not null)
884
if (
_selectedItem
is not null &&
_selectedItem
.DataSource == dataMemberNode.DataSource)
886
if (
_selectedItem
.Equals(dataSource, dataMemberNode.DataMember))
893
if (!string.IsNullOrEmpty(
_selectedItem
.DataMember)
894
&&
_selectedItem
.DataMember.StartsWith(dataMemberNode.DataMember, StringComparison.Ordinal))
944
bool addMembers = (
_selectedItem
is not null &&
_selectedItem
.DataSource is DataSourceDescriptor);
1028
if (
_selectedItem
is not null && string.IsNullOrEmpty(
_selectedItem
.DataMember))
1035
if (
_selectedItem
.DataSource is DataSourceDescriptor &&
_selectedItem
.DataSource is DataSourceDescriptor dataSourceDescriptor &&
1046
else if (
_selectedItem
.DataSource is Type &&
_selectedItem
.DataSource is Type type_ &&
2058
if (picker.
_selectedItem
is not null)