3 writes to _baseStream
System.IO.Compression (3)
System\IO\Compression\ZipCustomStreams.cs (3)
593
_baseStream
= _baseStreamFactory();
618
_baseStream
= _baseStreamFactory();
654
_baseStream
= _baseStreamFactory();
14 references to _baseStream
System.IO.Compression (14)
System\IO\Compression\ZipCustomStreams.cs (14)
592
Debug.Assert(
_baseStream
== null);
599
Debug.Assert(
_baseStream
!= null);
602
_baseStream
.Write(buffer, offset, count);
617
Debug.Assert(
_baseStream
== null);
624
Debug.Assert(
_baseStream
!= null);
627
_baseStream
.Write(source);
653
Debug.Assert(
_baseStream
== null);
660
Debug.Assert(
_baseStream
!= null);
664
await
_baseStream
.WriteAsync(buffer, cancellationToken).ConfigureAwait(false);
676
_baseStream
?.Flush();
682
return
_baseStream
?.FlushAsync(cancellationToken) ?? Task.CompletedTask;
693
_baseStream
?.Dispose(); // Close my super-stream (flushes the last data if we ever wrote any)
707
if (!_leaveOpenOnClose &&
_baseStream
!= null)
708
await
_baseStream
.DisposeAsync().ConfigureAwait(false); // Close my super-stream (flushes the last data if we ever wrote any)