6 writes to _addingItem
System.Windows.Forms.Design (6)
System\Windows\Forms\Design\ToolStripDesigner.cs (6)
514_addingItem = true; 555_addingItem = false; 570_addingItem = true; 716_addingItem = false; 896_addingItem = false; 994_addingItem = true;
2 references to _addingItem
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\ToolStripDesigner.cs (2)
894if (e.Component is ToolStripItem newItem && _addingItem && !newItem.IsOnDropDown) 992if (_insertMenuItemTransaction is null && s_autoAddNewItems && addingItem is not null && !_addingItem && IsToolStripOrItemSelected && !EditingCollection)