3 writes to _array
System.Diagnostics.Process (3)
src\libraries\Common\src\System\Collections\Generic\ArrayBuilder.cs (3)
28
_array
= new T[capacity];
118
_array
= null;
158
_array
= next;
10 references to _array
System.Diagnostics.Process (10)
src\libraries\Common\src\System\Collections\Generic\ArrayBuilder.cs (10)
36
public int Capacity =>
_array
?.Length ?? 0;
39
public T[]? Buffer =>
_array
;
55
return
_array
![index];
79
return
_array
![0];
88
return
_array
![_count - 1];
104
Debug.Assert(
_array
!= null); // Nonzero _count should imply this
106
T[] result =
_array
;
112
Array.Copy(
_array
, result, _count);
136
_array
![_count++] = item;
156
Array.Copy(
_array
!, next, _count);