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)
70int minBufferCount = fillBuffer || _unsuccessfulReadCount > UnsuccessfulReadCountThreshold ? bufferState._buffer.Length : 0; 131_unsuccessfulReadCount = bytesConsumed == 0 ? _unsuccessfulReadCount + 1 : 0;