2 writes to _count
System.Diagnostics.Process (2)
src\libraries\Common\src\System\Collections\Generic\ArrayBuilder.cs (2)
117
_count
= -1;
136
_array![
_count
++] = item;
14 references to _count
System.Diagnostics.Process (14)
src\libraries\Common\src\System\Collections\Generic\ArrayBuilder.cs (14)
44
public int Count =>
_count
;
54
Debug.Assert(index >= 0 && index <
_count
);
65
if (
_count
== Capacity)
67
EnsureCapacity(
_count
+ 1);
78
Debug.Assert(
_count
> 0);
87
Debug.Assert(
_count
> 0);
88
return _array![
_count
- 1];
99
if (
_count
== 0)
107
if (
_count
< result.Length)
111
result = new T[
_count
];
112
Array.Copy(_array, result,
_count
);
134
Debug.Assert(
_count
< Capacity);
154
if (
_count
> 0)
156
Array.Copy(_array!, next,
_count
);