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)
35
get =>
_pos
;
53
Grow(capacity -
_pos
);
62
EnsureCapacity(
_pos
+ 1);
63
_chars[
_pos
] = '\0';
81
Debug.Assert(index <
_pos
);
88
string s = _chars.Slice(0,
_pos
).ToString();
96
public ReadOnlySpan<char> AsSpan() => _chars.Slice(0,
_pos
);
97
public ReadOnlySpan<char> AsSpan(int start) => _chars.Slice(start,
_pos
- start);
102
if (
_pos
> _chars.Length - count)
107
int remaining =
_pos
- index;
122
if (
_pos
> (_chars.Length - count))
127
int remaining =
_pos
- index;
140
int pos =
_pos
;
161
int pos =
_pos
;
175
int pos =
_pos
;
191
if (
_pos
> _chars.Length - count)
196
Span<char> dst = _chars.Slice(
_pos
, count);
206
int pos =
_pos
;
212
value.CopyTo(_chars.Slice(
_pos
));
219
int origPos =
_pos
;
239
/// <see cref="
_pos
"/> whichever is greater.
248
Debug.Assert(
_pos
> _chars.Length - additionalCapacityBeyondPos, "Grow called incorrectly, no resize is needed.");
255
(uint)(
_pos
+ additionalCapacityBeyondPos),
262
_chars.Slice(0,
_pos
).CopyTo(poolArray);