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