4 writes to _indexToInsertNewItem
System.Windows.Forms.Design (4)
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (4)
786
_indexToInsertNewItem
= dummyIndex;
831
_indexToInsertNewItem
= -1;
862
_indexToInsertNewItem
= dummyIndex;
919
_indexToInsertNewItem
= -1;
3 references to _indexToInsertNewItem
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (3)
1696
if (
_indexToInsertNewItem
!= -1)
1700
MenuItem.DropDown.Items.Insert(
_indexToInsertNewItem
, newItem);
1704
MenuItem.DropDownItems.Insert(
_indexToInsertNewItem
, newItem);