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)
228
Debug.Assert(!
_encrypting
, "ValidateAuthCode should only be called during decryption.");
244
Debug.Assert(!
_encrypting
, "ValidateAuthCode should only be called during decryption.");
297
if (
_encrypting
)
342
Debug.Assert(
_encrypting
, "WriteAuthCode should only be called during encryption.");
376
if (
_encrypting
)
502
if (!
_encrypting
)
570
if (
_encrypting
&& !_authCodeFinalized)
600
if (
_encrypting
&& !_authCodeFinalized)
625
Debug.Assert(
_encrypting
&& !_authCodeFinalized);
653
public override bool CanRead => !
_encrypting
&& !_disposed;
655
public override bool CanWrite =>
_encrypting
&& !_disposed;