6 writes to _charsRead
Microsoft.AspNetCore.WebUtilities (6)
HttpRequestStreamReader.cs (6)
250
_charsRead
= 0;
281
_charsRead
+= charsRemaining; // Number of chars in StreamReader's buffer.
457
_charsRead
= 0;
470
_charsRead
+= _decoder.GetChars(
484
_charsRead
= 0;
500
_charsRead
+= _decoder.GetChars(
22 references to _charsRead
Microsoft.AspNetCore.WebUtilities (22)
HttpRequestStreamReader.cs (22)
125
if (_charBufferIndex ==
_charsRead
)
141
if (_charBufferIndex ==
_charsRead
)
176
var charsRemaining =
_charsRead
- _charBufferIndex;
234
if (_charBufferIndex ==
_charsRead
&& await ReadIntoBufferAsync() == 0)
245
var charsRemaining =
_charsRead
- _charBufferIndex;
329
if (_charBufferIndex ==
_charsRead
)
364
if (_charBufferIndex ==
_charsRead
)
396
var span = new Span<char>(_charBuffer, _charBufferIndex,
_charsRead
- _charBufferIndex);
407
if (_charBufferIndex <
_charsRead
)
450
_charBufferIndex =
_charsRead
;
466
return
_charsRead
;
475
_charsRead
);
477
while (
_charsRead
== 0);
479
return
_charsRead
;
494
return
_charsRead
;
505
_charsRead
);
507
while (
_charsRead
== 0);
509
return
_charsRead
;
515
StringBuilder sb = new StringBuilder(
_charsRead
- _charBufferIndex);
519
sb.Append(_charBuffer, tmpCharPos,
_charsRead
- tmpCharPos);
520
_charBufferIndex =
_charsRead
; // We consumed these characters
522
} while (
_charsRead
> 0);