1 write to _unsuccessfulReadCount
System.Text.Json (1)
System\Text\Json\Serialization\ReadBufferState.cs (1)
131
_unsuccessfulReadCount
= bytesConsumed == 0 ? _unsuccessfulReadCount + 1 : 0;
2 references to _unsuccessfulReadCount
System.Text.Json (2)
System\Text\Json\Serialization\ReadBufferState.cs (2)
70
int minBufferCount = fillBuffer ||
_unsuccessfulReadCount
> UnsuccessfulReadCountThreshold ? bufferState._buffer.Length : 0;
131
_unsuccessfulReadCount = bytesConsumed == 0 ?
_unsuccessfulReadCount
+ 1 : 0;