11 writes to _pos
System.Security.Cryptography (11)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (11)
23_pos = 0; 30_pos = 0; 40_pos = value; 110_pos += count; 134_pos += count; 145_pos = pos + 1; 165_pos = pos + 1; 186_pos += s.Length; 201_pos += count; 213_pos += value.Length; 225_pos = origPos + length;
24 references to _pos
System.Security.Cryptography (24)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (24)
35get => _pos; 53Grow(capacity - _pos); 62EnsureCapacity(_pos + 1); 63_chars[_pos] = '\0'; 81Debug.Assert(index < _pos); 88string s = _chars.Slice(0, _pos).ToString(); 96public ReadOnlySpan<char> AsSpan() => _chars.Slice(0, _pos); 97public ReadOnlySpan<char> AsSpan(int start) => _chars.Slice(start, _pos - start); 102if (_pos > _chars.Length - count) 107int remaining = _pos - index; 122if (_pos > (_chars.Length - count)) 127int remaining = _pos - index; 140int pos = _pos; 161int pos = _pos; 175int pos = _pos; 191if (_pos > _chars.Length - count) 196Span<char> dst = _chars.Slice(_pos, count); 206int pos = _pos; 212value.CopyTo(_chars.Slice(_pos)); 219int origPos = _pos; 239/// <see cref="_pos"/> whichever is greater. 248Debug.Assert(_pos > _chars.Length - additionalCapacityBeyondPos, "Grow called incorrectly, no resize is needed."); 255(uint)(_pos + additionalCapacityBeyondPos), 262_chars.Slice(0, _pos).CopyTo(poolArray);