2 writes to _span
System.Text.RegularExpressions (2)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\ValueListBuilder.cs (2)
18_span = initialSpan; 197_span = _arrayFromPool = array;
25 references to _span
System.Text.RegularExpressions (25)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\ValueListBuilder.cs (24)
29Debug.Assert(value <= _span.Length); 39return ref _span[index]; 49Span<T> span = _span; 65Span<T> span = _span; 80if ((uint)(_pos + source.Length) > (uint)_span.Length) 82Grow(_span.Length - _pos + source.Length); 85source.CopyTo(_span.Slice(_pos)); 93if ((uint)(_pos + source.Length) > (uint)_span.Length) 98_span.Slice(0, _pos).CopyTo(_span.Slice(source.Length)); 99source.CopyTo(_span); 109Span<T> span = _span; 125Grow(_span.Length - pos + length); 127return _span.Slice(pos, length); 134Debug.Assert(_pos == _span.Length); 137_span[pos] = item; 143return _span.Slice(0, _pos); 148if (_span.Slice(0, _pos).TryCopyTo(destination)) 180int nextCapacity = Math.Max(_span.Length != 0 ? _span.Length * 2 : 4, _span.Length + additionalCapacityRequired); 190nextCapacity = Math.Max(Math.Max(_span.Length + 1, ArrayMaxLength), _span.Length); 194_span.CopyTo(array);
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\ValueListBuilder.Pop.cs (1)
17return _span[_pos];