2 writes to _oldCommands
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\ToolStripKeyboardHandlingService.cs (2)
1471_oldCommands ??= []; 1640_oldCommands = null;
29 references to _oldCommands
System.Windows.Forms.Design (29)
System\Windows\Forms\Design\ToolStripKeyboardHandlingService.cs (29)
265if (_oldCommands is null) 271foreach (MenuCommand oldCommand in _oldCommands) 443foreach (MenuCommand oldCommand in _oldCommands) 1476_oldCommands.Add(mcs.FindCommand(MenuCommands.KeySelectNext)); 1477_oldCommands.Add(mcs.FindCommand(MenuCommands.KeySelectPrevious)); 1478_oldCommands.Add(mcs.FindCommand(MenuCommands.KeyDefaultAction)); 1480_oldCommands.Add(mcs.FindCommand(MenuCommands.KeyMoveUp)); 1481_oldCommands.Add(mcs.FindCommand(MenuCommands.KeyMoveDown)); 1482_oldCommands.Add(mcs.FindCommand(MenuCommands.KeyMoveLeft)); 1483_oldCommands.Add(mcs.FindCommand(MenuCommands.KeyMoveRight)); 1485_oldCommands.Add(mcs.FindCommand(MenuCommands.KeyNudgeUp)); 1486_oldCommands.Add(mcs.FindCommand(MenuCommands.KeyNudgeDown)); 1487_oldCommands.Add(mcs.FindCommand(MenuCommands.KeyNudgeLeft)); 1488_oldCommands.Add(mcs.FindCommand(MenuCommands.KeyNudgeRight)); 1490_oldCommands.Add(mcs.FindCommand(MenuCommands.KeySizeWidthIncrease)); 1491_oldCommands.Add(mcs.FindCommand(MenuCommands.KeySizeHeightIncrease)); 1492_oldCommands.Add(mcs.FindCommand(MenuCommands.KeySizeWidthDecrease)); 1493_oldCommands.Add(mcs.FindCommand(MenuCommands.KeySizeHeightDecrease)); 1495_oldCommands.Add(mcs.FindCommand(MenuCommands.KeyCancel)); 1496_oldCommands.Add(mcs.FindCommand(MenuCommands.KeyReverseCancel)); 1497_oldCommands.Add(mcs.FindCommand(StandardCommands.Copy)); 1498_oldCommands.Add(mcs.FindCommand(StandardCommands.SelectAll)); 1499_oldCommands.Add(mcs.FindCommand(MenuCommands.KeyInvokeSmartTag)); 1501_oldCommands.Add(mcs.FindCommand(StandardCommands.Cut)); 1502_oldCommands.Add(mcs.FindCommand(StandardCommands.Delete)); 1564if (_oldCommands is not null) 1566foreach (MenuCommand oldCommand in _oldCommands) 1637if (_oldCommands is not null) 1639_oldCommands.Clear();