11 writes to _readLen
mscorlib (11)
system\io\bufferedstream.cs (11)
262
_readLen
= 0;
328
_writePos = _readPos =
_readLen
= 0;
408
_readLen
= 0;
421
_readPos =
_readLen
= 0;
536
_readPos =
_readLen
= 0;
550
_readLen
= _stream.Read(_buffer, 0, _bufferSize);
764
_readPos =
_readLen
= 0;
787
_readLen
= _stream.EndRead(await _beginEndAwaitable);
789
_readLen
= await _stream.ReadAsync(_buffer, 0, _bufferSize, cancellationToken).ConfigureAwait(false);
814
_readLen
= _stream.Read(_buffer, 0, _bufferSize);
1315
_readPos =
_readLen
= 0;
27 references to _readLen
mscorlib (27)
system\io\bufferedstream.cs (27)
247
Contract.Assert(! (_writePos > 0 && _readPos !=
_readLen
), "Read and Write buffers cannot both have data in them at the same time.");
248
return _stream.Position + (_readPos -
_readLen
+ _writePos);
299
Contract.Assert(_writePos == 0 && _readPos == 0 &&
_readLen
== 0);
304
if (_readPos <
_readLen
) {
320
Contract.Assert(_writePos == 0 && _readPos == 0 &&
_readLen
== 0);
339
return FlushAsyncInternal(cancellationToken, this, _stream, _writePos, _readPos,
_readLen
);
359
Contract.Assert(_this._writePos == 0 && _this._readPos == 0 && _this.
_readLen
== 0);
379
Contract.Assert(_this._writePos == 0 && _this._readPos == 0 && _this.
_readLen
== 0);
388
Contract.Assert(_this._writePos == 0 && _this._readPos == _this.
_readLen
);
404
if (_readPos -
_readLen
!= 0)
405
_stream.Seek(_readPos -
_readLen
, SeekOrigin.Current);
416
Contract.Assert(_readPos <=
_readLen
, "_readPos <= _readLen [" + _readPos +" <= " +
_readLen
+ "]");
419
if (_readPos ==
_readLen
) {
426
Contract.Assert(_readPos <
_readLen
);
440
Contract.Assert(_readPos == 0 &&
_readLen
== 0,
454
Contract.Assert(_readPos == 0 &&
_readLen
== 0,
468
Int32 readBytes =
_readLen
- _readPos;
535
Contract.Assert(
_readLen
== _readPos);
763
Contract.Assert(
_readLen
== _readPos);
808
if (_readPos ==
_readLen
) {
818
if (_readPos ==
_readLen
)
1289
if (
_readLen
- _readPos > 0 && origin == SeekOrigin.Current) {
1293
offset -= (
_readLen
- _readPos);
1297
Contract.Assert(oldPos == _stream.Position + (_readPos -
_readLen
));
1308
if (0 <= _readPos && _readPos <
_readLen
) {
1311
_stream.Seek(
_readLen
- _readPos, SeekOrigin.Current);