2 writes to cmds
System.Windows.Forms (2)
winforms\Managed\System\WinForms\Command.cs (2)
50cmds = new Command[20]; 89cmds = newCmds;
16 references to cmds
System.Windows.Forms (16)
winforms\Managed\System\WinForms\Command.cs (16)
49if (null == cmds) { 54Debug.Assert(cmds.Length > 0, "why is cmds.Length zero?"); 57int icmdLim = cmds.Length; 64if (null == cmds[icmd]) goto FindSlotComplete; 66if (null == cmds[icmd]) goto FindSlotComplete; 71if (null == cmds[icmd].Target) goto FindSlotComplete; 74icmd = cmds.Length; 81if (null == cmds[icmd] || null == cmds[icmd].Target) 88Array.Copy(cmds, 0, newCmds, 0, icmd); 98cmds[icmd] = cmd; 115if (cmds[cmd.id - idMin] == cmd) 116cmds[cmd.id - idMin] = null; 130if (null == cmds) 133if (i < 0 || i >= cmds.Length) 135return cmds[i];