2 writes to s_cmds
System.Windows.Forms (2)
System\Windows\Forms\DataBinding\Command.cs (2)
32
s_cmds
= new Command[20];
96
s_cmds
= newCmds;
16 references to s_cmds
System.Windows.Forms (16)
System\Windows\Forms\DataBinding\Command.cs (16)
30
if (
s_cmds
is null)
37
Debug.Assert(
s_cmds
.Length > 0, "why is cmds.Length zero?");
40
int icmdLim =
s_cmds
.Length;
50
if (
s_cmds
[icmd] is null)
58
if (
s_cmds
[icmd] is null)
68
if (
s_cmds
[icmd]!.Target is null)
75
icmd =
s_cmds
.Length;
84
if (
s_cmds
[icmd] is null ||
s_cmds
[icmd]!.Target is null)
95
Array.Copy(
s_cmds
, 0, newCmds, 0, icmd);
105
s_cmds
[icmd] = cmd;
128
if (
s_cmds
![cmd._id - IdMin] == cmd)
130
s_cmds
[cmd._id - IdMin] = null;
150
if (
s_cmds
is null)
156
if (i < 0 || i >=
s_cmds
.Length)
161
return
s_cmds
[i];