1 write to _encrypting
System.IO.Compression (1)
System\IO\Compression\WinZipAesStream.cs (1)
167
_encrypting
= encrypting;
11 references to _encrypting
System.IO.Compression (11)
System\IO\Compression\WinZipAesStream.cs (11)
223
Debug.Assert(!
_encrypting
, "ValidateAuthCode should only be called during decryption.");
239
Debug.Assert(!
_encrypting
, "ValidateAuthCode should only be called during decryption.");
292
if (
_encrypting
)
337
Debug.Assert(
_encrypting
, "WriteAuthCode should only be called during encryption.");
371
if (
_encrypting
)
497
if (!
_encrypting
)
565
if (
_encrypting
&& !_authCodeFinalized)
595
if (
_encrypting
&& !_authCodeFinalized)
620
Debug.Assert(
_encrypting
&& !_authCodeFinalized);
648
public override bool CanRead => !
_encrypting
&& !_disposed;
650
public override bool CanWrite =>
_encrypting
&& !_disposed;