3 writes to _baseStream
System.IO.Compression (3)
System\IO\Compression\ZipCustomStreams.cs (3)
574
_baseStream
= _baseStreamFactory();
599
_baseStream
= _baseStreamFactory();
635
_baseStream
= _baseStreamFactory();
14 references to _baseStream
System.IO.Compression (14)
System\IO\Compression\ZipCustomStreams.cs (14)
573
Debug.Assert(
_baseStream
== null);
580
Debug.Assert(
_baseStream
!= null);
583
_baseStream
.Write(buffer, offset, count);
598
Debug.Assert(
_baseStream
== null);
605
Debug.Assert(
_baseStream
!= null);
608
_baseStream
.Write(source);
634
Debug.Assert(
_baseStream
== null);
641
Debug.Assert(
_baseStream
!= null);
645
await
_baseStream
.WriteAsync(buffer, cancellationToken).ConfigureAwait(false);
657
_baseStream
?.Flush();
663
return
_baseStream
?.FlushAsync(cancellationToken) ?? Task.CompletedTask;
674
_baseStream
?.Dispose(); // Close my super-stream (flushes the last data if we ever wrote any)
688
if (!_leaveOpenOnClose &&
_baseStream
!= null)
689
await
_baseStream
.DisposeAsync().ConfigureAwait(false); // Close my super-stream (flushes the last data if we ever wrote any)