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