3 writes to _array
Microsoft.AspNetCore.Routing (3)
ArrayBuilder.cs (3)
35
_array
= new T[capacity];
125
_array
= null;
165
_array
= next;
10 references to _array
Microsoft.AspNetCore.Routing (10)
ArrayBuilder.cs (10)
43
public int Capacity =>
_array
?.Length ?? 0;
46
public T[] Buffer =>
_array
;
62
return
_array
[index];
86
return
_array
[0];
95
return
_array
[_count - 1];
111
Debug.Assert(
_array
!= null); // Nonzero _count should imply this
113
T[] result =
_array
;
119
Array.Copy(
_array
, 0, result, 0, _count);
143
_array
[_count++] = item;
163
Array.Copy(
_array
, 0, next, 0, _count);