2 writes to _underlyingStream
WindowsBase (2)
Base\MS\Internal\IO\Zip\ProgressiveCrcCalculatingStream.cs (2)
244_underlyingStream = underlyingStream; 273_underlyingStream = null;
31 references to _underlyingStream
WindowsBase (31)
Base\MS\Internal\IO\Zip\ProgressiveCrcCalculatingStream.cs (31)
44return (_underlyingStream != null && _underlyingStream.CanRead); 52return (_underlyingStream != null && _underlyingStream.CanSeek); 60return (_underlyingStream != null && _underlyingStream.CanWrite); 70return _underlyingStream.Length; 80return _underlyingStream.Position; 87_underlyingStream.Position = value; 110_underlyingStream.SetLength(newLength); 123return _underlyingStream.Seek(offset, origin); 137if (!_underlyingStream.CanSeek) // Case #1 139readCount = _underlyingStream.Read(buffer, offset, count); 144long originalPosition = _underlyingStream.Position; 146readCount = _underlyingStream.Read(buffer, offset, count); 159_highWaterMark = _underlyingStream.Position; 183if (!_underlyingStream.CanSeek) // Case #1 185_underlyingStream.Write(buffer, offset, count); 190long originalPosition = _underlyingStream.Position; 199_underlyingStream.Write(buffer, offset, count); 211_highWaterMark = _underlyingStream.Position; 226_underlyingStream.Flush(); 298if (_underlyingStream.CanSeek) 300long originalPosition = _underlyingStream.Position; 308if (_highWaterMark < _underlyingStream.Length) 310_underlyingStream.Position = _highWaterMark; 311CrcCalculator.CalculateStreamCrc(_underlyingStream); 312_highWaterMark = _underlyingStream.Length; 325if (_underlyingStream == null) 345if (_underlyingStream.CanSeek && _highWaterMark == _underlyingStream.Length)