3 writes to _storedLength
System.Net.Mail (3)
System\Net\BufferedReadStream.cs (3)
123_storedLength = count; 136_storedLength += count - _storedOffset; 143_storedLength += count - _storedOffset;
10 references to _storedLength
System.Net.Mail (10)
System\Net\BufferedReadStream.cs (10)
51if (_storedOffset < _storedLength) 53read = Math.Min(count, _storedLength - _storedOffset); 70if (_storedOffset >= _storedLength) 75read = Math.Min(count, _storedLength - _storedOffset); 97if (_storedOffset < _storedLength) 116if (_storedOffset == _storedLength) 133else if (count <= _storedBuffer!.Length - _storedLength + _storedOffset) 135Buffer.BlockCopy(_storedBuffer, _storedOffset, _storedBuffer, count, _storedLength - _storedOffset); 141byte[] newBuffer = new byte[count + _storedLength - _storedOffset]; 142Buffer.BlockCopy(_storedBuffer, _storedOffset, newBuffer, count, _storedLength - _storedOffset);