10 writes to _charBufferCount
Microsoft.AspNetCore.WebUtilities (10)
35 references to _charBufferCount
Microsoft.AspNetCore.WebUtilities (35)
HttpResponseStreamWriter.cs (35)
110if (_charBufferCount == _charBufferSize)
115_charBuffer[_charBufferCount] = value;
131if (_charBufferCount == _charBufferSize)
148if (_charBufferCount == _charBufferSize)
174if (_charBufferCount == _charBufferSize)
200if (_charBufferCount == _charBufferSize)
207_charBuffer[_charBufferCount] = value;
215Debug.Assert(_charBufferCount == _charBufferSize);
219_charBuffer[_charBufferCount] = value;
236var remaining = _charBufferSize - _charBufferCount;
252Debug.Assert(_charBufferSize - _charBufferCount < count);
256if (_charBufferCount == _charBufferSize)
278var remaining = _charBufferSize - _charBufferCount;
296Debug.Assert(_charBufferSize - _charBufferCount < count);
301if (_charBufferCount == _charBufferSize)
329var remaining = _charBufferSize - _charBufferCount;
345Debug.Assert(_charBufferSize - _charBufferCount < value.Length);
350if (_charBufferCount == _charBufferSize)
381var remaining = _charBufferSize - _charBufferCount;
416var remaining = _charBufferSize - _charBufferCount;
444var remaining = _charBufferSize - _charBufferCount;
448_charBuffer[_charBufferCount] = value;
482var remaining = _charBufferSize - _charBufferCount;
568if (_charBufferCount == 0)
576_charBufferCount,
593if (_charBufferCount == 0)
601_charBufferCount,
616Debug.Assert(_charBufferSize - _charBufferCount >= value.Length);
621destinationIndex: _charBufferCount,
629var remaining = Math.Min(_charBufferSize - _charBufferCount, count);
634destinationIndex: _charBufferCount,
644var remaining = Math.Min(_charBufferSize - _charBufferCount, count);
650dstOffset: _charBufferCount * sizeof(char),
660var remaining = Math.Min(_charBufferSize - _charBufferCount, value.Length);
663var destination = new Span<char>(_charBuffer, _charBufferCount, remaining);