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