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)
51public int Count => _count; 61Debug.Assert(index >= 0 && index < _count); 72if (_count == Capacity) 74EnsureCapacity(_count + 1); 85Debug.Assert(_count > 0); 94Debug.Assert(_count > 0); 95return _array[_count - 1]; 106if (_count == 0) 114if (_count < result.Length) 118result = new T[_count]; 119Array.Copy(_array, 0, result, 0, _count); 141Debug.Assert(_count < Capacity); 161if (_count > 0) 163Array.Copy(_array, 0, next, 0, _count);