1 write to _mode
System.IO.Compression.Brotli (1)
System\IO\Compression\BrotliStream.cs (1)
56
_mode
= mode;
10 references to _mode
System.IO.Compression.Brotli (10)
System\IO\Compression\BrotliStream.cs (4)
75
if (
_mode
== CompressionMode.Compress)
104
if (
_mode
== CompressionMode.Compress)
144
public override bool CanRead =>
_mode
== CompressionMode.Decompress && _stream != null && _stream.CanRead;
147
public override bool CanWrite =>
_mode
== CompressionMode.Compress && _stream != null && _stream.CanWrite;
System\IO\Compression\dec\BrotliStream.Decompress.cs (2)
59
if (
_mode
!= CompressionMode.Decompress)
134
if (
_mode
!= CompressionMode.Decompress)
System\IO\Compression\enc\BrotliStream.Compress.cs (4)
80
if (
_mode
!= CompressionMode.Compress)
145
if (
_mode
!= CompressionMode.Compress)
187
if (
_mode
== CompressionMode.Compress)
222
return
_mode
!= CompressionMode.Compress ? Task.CompletedTask : FlushAsyncCore(cancellationToken);