2 writes to _baseStream
WindowsBase (2)
Base\MS\Internal\IO\Packaging\CompressStream.cs (2)
479
_baseStream
= baseStream;
566
_baseStream
= null;
16 references to _baseStream
WindowsBase (16)
Base\MS\Internal\IO\Packaging\CompressStream.cs (16)
167
if (_position == 0 && IsDeflateStreamEmpty(
_baseStream
))
291
_baseStream
.SetLength(0); // clear the underlying stream
342
_baseStream
.Flush();
390
if (_position == 0 && IsDeflateStreamEmpty(
_baseStream
))
419
return (_mode != Mode.Disposed) &&
_baseStream
.CanRead;
432
return (_mode != Mode.Disposed) &&
_baseStream
.CanSeek;
445
return (_mode != Mode.Disposed) &&
_baseStream
.CanWrite;
482
Debug.Assert(
_baseStream
.Position == 0,
558
if (_dirtyForClosing && ((
_baseStream
.CanSeek &&
_baseStream
.Length == 0) ||
561
_baseStream
.Write(_emptyDeflateStreamConstant, 0, 2);
562
_baseStream
.Flush();
700
_baseStream
.Position = 0;
707
Debug.Assert(
_baseStream
.Position == 0);
710
_current = new DeflateStream(
_baseStream
,
723
_current = new CompressEmulationStream(
_baseStream
, memStream, _position, new DeflateEmulationTransform());