2 writes to t_decryptionScopeDepth
System.Security.Cryptography.Xml (2)
System\Security\Cryptography\Xml\EncryptedXml.cs (2)
1103
t_decryptionScopeDepth
++;
1110
t_decryptionScopeDepth
--;
10 references to t_decryptionScopeDepth
System.Security.Cryptography.Xml (10)
System\Security\Cryptography\Xml\EncryptedXml.cs (10)
1090
Debug.Assert(
t_decryptionScopeDepth
>= 0);
1091
Debug.Assert(
t_decryptionScopeDepth
> 0 || t_decryptionCount == 0, "Decryption count must be zero when entering the first decryption scope.");
1092
Debug.Assert(
t_decryptionScopeDepth
> 0 || t_decryptDataCallCount == 0, "Decrypt data call count must be zero when entering the first decryption scope.");
1093
Debug.Assert(
t_decryptionScopeDepth
> 0 || t_encryptedDataCandidateCount == 0, "Encrypted data candidate count must be zero when entering the first decryption scope.");
1096
if (
t_decryptionScopeDepth
== 0)
1108
Debug.Assert(
t_decryptionScopeDepth
> 0);
1112
if (
t_decryptionScopeDepth
== 0)
1123
Debug.Assert(
t_decryptionScopeDepth
> 0);
1142
Debug.Assert(
t_decryptionScopeDepth
> 0);
1161
Debug.Assert(
t_decryptionScopeDepth
> 0);