15 references to DebugAssert
System.IdentityModel.Selectors (15)
infocard\client\System\IdentityModel\Selectors\CryptoHandle.cs (1)
159
IDT.
DebugAssert
(false, "Invalid crypto operation type");
infocard\client\System\IdentityModel\Selectors\InfoCardKeyedHashAlgorithm.cs (1)
180
IDT.
DebugAssert
(null != m_cachedBlock, "null cached block");
infocard\client\System\IdentityModel\Selectors\InfoCardSymmetricAlgorithm.cs (4)
234
IDT.
DebugAssert
(null != inputBuffer && 0 != inputBuffer.Length, "null input buffer");
235
IDT.
DebugAssert
(0 != inputCount, "0 input count");
277
IDT.
DebugAssert
(null != inputBuffer && 0 != inputBuffer.Length, "null input buffer");
278
IDT.
DebugAssert
(0 != inputCount, "0 input count");
infocard\client\System\IdentityModel\Selectors\InfoCardSymmetricCrypto.cs (3)
108
IDT.
DebugAssert
(!String.IsNullOrEmpty(algorithmUri), "null alg uri");
109
IDT.
DebugAssert
(null != label && 0 != label.Length, "null label");
110
IDT.
DebugAssert
(null != nonce && 0 != nonce.Length, "null nonce");
infocard\client\System\IdentityModel\Selectors\InternalPolicyElement.cs (1)
68
IDT.
DebugAssert
(IntPtr.Zero == m_nativePtr, "Pointer already assigned");
infocard\client\System\IdentityModel\Selectors\ThrowOnMultipleAssignment.cs (1)
46
IDT.
DebugAssert
(!String.IsNullOrEmpty(errorString), "Must have an error string");
infocard\common\managed\HGlobalSafeHandle.cs (4)
30
IDT.
DebugAssert
(!String.IsNullOrEmpty(managedString), "null string");
39
IDT.
DebugAssert
(bytes > 0, "attempt to allocate a handle with <= 0 bytes");
79
IDT.
DebugAssert
(!IsInvalid, "handle is invalid in release handle");
80
IDT.
DebugAssert
(0 != m_bytes, "invalid size");