2 writes to _count
Microsoft.AspNetCore.Routing (2)
ArrayBuilder.cs (2)
124
_count
= -1;
143
_array[
_count
++] = item;
14 references to _count
Microsoft.AspNetCore.Routing (14)
ArrayBuilder.cs (14)
51
public int Count =>
_count
;
61
Debug.Assert(index >= 0 && index <
_count
);
72
if (
_count
== Capacity)
74
EnsureCapacity(
_count
+ 1);
85
Debug.Assert(
_count
> 0);
94
Debug.Assert(
_count
> 0);
95
return _array[
_count
- 1];
106
if (
_count
== 0)
114
if (
_count
< result.Length)
118
result = new T[
_count
];
119
Array.Copy(_array, 0, result, 0,
_count
);
141
Debug.Assert(
_count
< Capacity);
161
if (
_count
> 0)
163
Array.Copy(_array, 0, next, 0,
_count
);