4 writes to _controls
System.Web (4)
UI\ControlCollection.cs (4)
77
_controls
= new Control[_defaultCapacity];
82
_controls
= newArray;
125
_controls
= new Control[_defaultCapacity];
136
_controls
= newArray;
25 references to _controls
System.Web (25)
UI\ControlCollection.cs (25)
76
if (
_controls
== null) {
79
else if (_size >=
_controls
.Length) {
80
Control[] newArray = new Control[
_controls
.Length * _growthFactor ];
81
Array.Copy(
_controls
, newArray,
_controls
.Length);
87
_controls
[index] = child;
124
if (
_controls
== null) {
127
else if (_size >=
_controls
.Length) {
129
Control[] newArray = new Control[
_controls
.Length * _growthFactor ];
131
Array.Copy(
_controls
, newArray, index);
135
Array.Copy(
_controls
, index, newArray, index+1, _size - index);
140
Array.Copy(
_controls
, index,
_controls
, index + 1, _size - index);
142
_controls
[index] = child;
156
if (
_controls
!= null) {
174
if (
_controls
== null || c == null)
178
if (Object.ReferenceEquals(c,
_controls
[i])) {
219
if (
_controls
== null)
222
return Array.IndexOf(
_controls
, value, 0, _size);
240
if (
_controls
== null)
245
Array.Copy(
_controls
, 0, array, index, _size);
295
return
_controls
[index];
314
Array.Copy(
_controls
, index + 1,
_controls
, index, _size - index);
316
_controls
[_size] = null;