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)
44
return (
_underlyingStream
!= null &&
_underlyingStream
.CanRead);
52
return (
_underlyingStream
!= null &&
_underlyingStream
.CanSeek);
60
return (
_underlyingStream
!= null &&
_underlyingStream
.CanWrite);
70
return
_underlyingStream
.Length;
80
return
_underlyingStream
.Position;
87
_underlyingStream
.Position = value;
110
_underlyingStream
.SetLength(newLength);
123
return
_underlyingStream
.Seek(offset, origin);
137
if (!
_underlyingStream
.CanSeek) // Case #1
139
readCount =
_underlyingStream
.Read(buffer, offset, count);
144
long originalPosition =
_underlyingStream
.Position;
146
readCount =
_underlyingStream
.Read(buffer, offset, count);
159
_highWaterMark =
_underlyingStream
.Position;
183
if (!
_underlyingStream
.CanSeek) // Case #1
185
_underlyingStream
.Write(buffer, offset, count);
190
long originalPosition =
_underlyingStream
.Position;
199
_underlyingStream
.Write(buffer, offset, count);
211
_highWaterMark =
_underlyingStream
.Position;
226
_underlyingStream
.Flush();
298
if (
_underlyingStream
.CanSeek)
300
long originalPosition =
_underlyingStream
.Position;
308
if (_highWaterMark <
_underlyingStream
.Length)
310
_underlyingStream
.Position = _highWaterMark;
311
CrcCalculator.CalculateStreamCrc(
_underlyingStream
);
312
_highWaterMark =
_underlyingStream
.Length;
325
if (
_underlyingStream
== null)
345
if (
_underlyingStream
.CanSeek && _highWaterMark ==
_underlyingStream
.Length)