9 writes to _pos
System.Text.RegularExpressions (9)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\ValueListBuilder.cs (8)
33_pos = value; 56_pos = pos + 1; 72_pos = pos + 1; 89_pos += source.Length; 103_pos += source.Length; 115_pos = pos + length; 129_pos += length; 141_pos = pos + 1;
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\ValueListBuilder.Pop.cs (1)
16_pos--;
17 references to _pos
System.Text.RegularExpressions (17)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\ValueListBuilder.cs (16)
28get => _pos; 41Debug.Assert(index < _pos); 49int pos = _pos; 67int pos = _pos; 83if ((uint)(_pos + source.Length) > (uint)_span.Length) 85Grow(_span.Length - _pos + source.Length); 88source.CopyTo(_span.Slice(_pos)); 96if ((uint)(_pos + source.Length) > (uint)_span.Length) 101_span.Slice(0, _pos).CopyTo(_span.Slice(source.Length)); 111int pos = _pos; 127int pos = _pos; 137Debug.Assert(_pos == _span.Length); 138int pos = _pos; 146return _span.Slice(0, _pos); 151if (_span.Slice(0, _pos).TryCopyTo(destination)) 153itemsWritten = _pos;
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\ValueListBuilder.Pop.cs (1)
17return _span[_pos];