3 writes to _baseStream
System.IO.Compression (3)
System\IO\Compression\ZipCustomStreams.cs (3)
560
_baseStream
= _baseStreamFactory();
585
_baseStream
= _baseStreamFactory();
621
_baseStream
= _baseStreamFactory();
14 references to _baseStream
System.IO.Compression (14)
System\IO\Compression\ZipCustomStreams.cs (14)
559
Debug.Assert(
_baseStream
== null);
566
Debug.Assert(
_baseStream
!= null);
569
_baseStream
.Write(buffer, offset, count);
584
Debug.Assert(
_baseStream
== null);
591
Debug.Assert(
_baseStream
!= null);
594
_baseStream
.Write(source);
620
Debug.Assert(
_baseStream
== null);
627
Debug.Assert(
_baseStream
!= null);
631
await
_baseStream
.WriteAsync(buffer, cancellationToken).ConfigureAwait(false);
643
_baseStream
?.Flush();
649
return
_baseStream
?.FlushAsync(cancellationToken) ?? Task.CompletedTask;
660
_baseStream
?.Dispose(); // Close my super-stream (flushes the last data if we ever wrote any)
674
if (!_leaveOpenOnClose &&
_baseStream
!= null)
675
await
_baseStream
.DisposeAsync().ConfigureAwait(false); // Close my super-stream (flushes the last data if we ever wrote any)