3 writes to _baseStream
System.IO.Compression (3)
System\IO\Compression\ZipCustomStreams.cs (3)
380
_baseStream
= _baseStreamFactory();
405
_baseStream
= _baseStreamFactory();
441
_baseStream
= _baseStreamFactory();
14 references to _baseStream
System.IO.Compression (14)
System\IO\Compression\ZipCustomStreams.cs (14)
379
Debug.Assert(
_baseStream
== null);
386
Debug.Assert(
_baseStream
!= null);
389
_baseStream
.Write(buffer, offset, count);
404
Debug.Assert(
_baseStream
== null);
411
Debug.Assert(
_baseStream
!= null);
414
_baseStream
.Write(source);
440
Debug.Assert(
_baseStream
== null);
447
Debug.Assert(
_baseStream
!= null);
451
await
_baseStream
.WriteAsync(buffer, cancellationToken).ConfigureAwait(false);
463
_baseStream
?.Flush();
469
return
_baseStream
?.FlushAsync(cancellationToken) ?? Task.CompletedTask;
480
_baseStream
?.Dispose(); // Close my super-stream (flushes the last data if we ever wrote any)
494
if (!_leaveOpenOnClose &&
_baseStream
!= null)
495
await
_baseStream
.DisposeAsync().ConfigureAwait(false); // Close my super-stream (flushes the last data if we ever wrote any)