22 references to Assert
System (22)
net\System\Net\_LoggingObject.cs (2)
952
Assert
(fullMessage.Substring(0, pipeIndex), detailLength > 0 ? fullMessage.Substring(pipeIndex + 1, detailLength) : null);
962
Assert
(message, null);
net\System\Net\_NativeSSPI.cs (1)
318
GlobalLog.
Assert
("NativeNTSSPI.DecryptMessage", "Expected qop = 0, returned value = " + qop.ToString("x", CultureInfo.InvariantCulture));
net\System\Net\_NTAuthentication.cs (1)
846
GlobalLog.
Assert
("NTAuthentication#" + ValidationHelper.HashString(this) + "::GetOutgoingDigestBlob()", "Invalid code path.");
net\System\Net\_SecureChannel.cs (1)
416
GlobalLog.
Assert
("SecureChannel::EnsureStoreOpened()", "Failed to open cert store, location:" + storeLocation + " exception:" + exception);
net\System\Net\_SSPISessionCache.cs (1)
52
GlobalLog.
Assert
("SSPIHandlCache", "Attempted to throw: " + e.ToString());
net\System\Net\_SSPIWrapper.cs (1)
466
GlobalLog.
Assert
("SSPIWrapper::EncryptDecryptHelper", "Output buffer out of range.");
net\System\Net\Cache\FtpRequestCacheValidator.cs (2)
193
GlobalLog.
Assert
("OnValidateCache()", "This validator should not be called for policy = " + Policy.ToString());
258
GlobalLog.
Assert
("RevalidateCache()", "This validator should not be called for policy = " + Policy.ToString());
net\System\Net\Cache\HttpRequestCacheValidator.cs (2)
251
GlobalLog.
Assert
("OnValidateCache()", "This validator should not be called for policy = " + Policy.ToString());
327
GlobalLog.
Assert
("RevalidateCache()", "This validator should not be called for policy = " + Policy.ToString());
net\System\Net\HttpWebRequest.cs (4)
3749
GlobalLog.
Assert
("HttpWebRequest#" + ValidationHelper.HashString(this) + "::SetResponse()", "coreResponseData == null");
4039
GlobalLog.
Assert
("HttpWebRequest#" + ValidationHelper.HashString(this) + "::GetConnectingContext", "Called while asynchronous connecting phase not in progress.");
4064
GlobalLog.
Assert
("HttpWebRequest#" + ValidationHelper.HashString(this) + "::GetWritingContext", "Called while asynchronous writing phase not in progress.");
4468
GlobalLog.
Assert
("HttpWebRequest#" + ValidationHelper.HashString(thisHttpWebRequest) + "::CompleteContinueGate()", "Not a POST type request, must not come here.");
net\System\Net\HttpWebResponse.cs (1)
535
GlobalLog.
Assert
("Exception on response Uri parsing.", e.ToString());
net\System\Net\Internal.cs (5)
469
GlobalLog.
Assert
("InterlockedGate::Trigger", "Gate already triggered.");
486
GlobalLog.
Assert
("InterlockedGate::StartTriggering", "Gate already triggered.");
498
GlobalLog.
Assert
("InterlockedGate::FinishTriggering", "Gate not Triggering.");
514
GlobalLog.
Assert
("InterlockedGate::StartTrigger", "Gate already Signaled.");
527
GlobalLog.
Assert
("InterlockedGate::FinishSignaling", "Gate not Signaling; " + gate);
net\System\Net\Sockets\Socket.cs (1)
6386
GlobalLog.
Assert
("SafeCloseSocket::Dispose(handle:" + m_Handle.DangerousGetHandle().ToString("x") + ")", "Closing the handle threw ObjectDisposedException.");