79 references to NclUtilities
System (79)
net\System\Net\_AuthenticationState.cs (2)
152if (NclUtilities.IsFatal(exception)) throw; 418if (NclUtilities.IsFatal(exception)) throw;
net\System\Net\_AutoWebProxyScriptEngine.cs (1)
465if (NclUtilities.IsFatal(exception)) throw;
net\System\Net\_AutoWebProxyScriptHelper.cs (2)
353IPAddress[] ipAddresses = NclUtilities.LocalAddresses; 893IPAddress[] ipAddresses = NclUtilities.LocalAddresses;
net\System\Net\_AutoWebProxyScriptWrapper.cs (2)
685if (!NclUtilities.HasShutdownStarted && scriptDomain != null) 717if (NclUtilities.IsFatal(exception)) throw;
net\System\Net\_Connection.cs (3)
962if (NclUtilities.IsFatal(exception)) throw; 3355if (NclUtilities.IsFatal(exception)) throw; 3595if (NclUtilities.IsFatal(exception)) throw;
net\System\Net\_ConnectStream.cs (12)
683if (NclUtilities.IsFatal(exception)) throw; 1007if (IgnoreSocketErrors && !NclUtilities.IsFatal(exception)) 1026if (NclUtilities.IsFatal(exception)) 1110if (IgnoreSocketErrors && !NclUtilities.IsFatal(exception)) 1129if (NclUtilities.IsFatal(exception)) 1218if (NclUtilities.IsFatal(exception)) 1242if (NclUtilities.IsFatal(exception)) 1988if (NclUtilities.IsFatal(exception)) throw; 2543int nesting = (IsPostStream && internalCall && !IgnoreSocketErrors && !BufferOnly && normalShutDown && !NclUtilities.HasShutdownStarted)? Nesting.Closed: Nesting.InError; 2551normalShutDown &= !NclUtilities.HasShutdownStarted; 2669if (NclUtilities.IsFatal(exception)) 2946if (NclUtilities.IsFatal(exception)) throw;
net\System\Net\_ListenerAsyncResult.cs (1)
100if (NclUtilities.IsFatal(exception)) throw;
net\System\Net\_NTAuthentication.cs (1)
961if (!NclUtilities.IsFatal(e)){
net\System\Net\_PooledStream.cs (1)
215if (NclUtilities.IsFatal(ex))
net\System\Net\_RegBlobWebProxyDataBuilder.cs (1)
127if (NclUtilities.IsFatal(exception)) throw;
net\System\Net\_SafeNetHandles.cs (1)
2383if (oldHandle != IntPtr.Zero && !NclUtilities.HasShutdownStarted)
net\System\Net\_SecureChannel.cs (2)
1089if (!NclUtilities.IsFatal(e)){ 1146if (!NclUtilities.IsFatal(e)){
net\System\Net\_SSPISessionCache.cs (1)
51if (!NclUtilities.IsFatal(e)){
net\System\Net\_TimerThread.cs (2)
574if (NclUtilities.IsFatal(exception)) throw; 732if (NclUtilities.IsFatal(exception)) throw;
net\System\Net\Cache\_RequestCacheProtocol.cs (1)
267if (NclUtilities.IsFatal(e)) throw;
net\System\Net\Configuration\AuthenticationModulesSection.cs (1)
96if (NclUtilities.IsFatal(exception)) throw;
net\System\Net\Configuration\DefaultProxySection.cs (1)
305if (NclUtilities.IsFatal(exception)) throw;
net\System\Net\Configuration\RequestCachingSection.cs (1)
300if (NclUtilities.IsFatal(exception)) throw;
net\System\Net\Configuration\WebRequestModulesSection.cs (1)
84if (NclUtilities.IsFatal(exception)) throw;
net\System\Net\FtpWebRequest.cs (1)
689if (!NclUtilities.IsFatal(exception)){
net\System\Net\HttpListener.cs (5)
210if (!NclUtilities.HasShutdownStarted || disposing) 273if (!NclUtilities.HasShutdownStarted || disposing) 1418if (NclUtilities.IsFatal(exception)) throw; 2520if (NclUtilities.IsCredentialFailure(status)) 2524if (NclUtilities.IsClientFault(status))
net\System\Net\HttpListenerRequest.cs (2)
165if (NclUtilities.IsFatal(exception)) throw; 202if (m_pOverlapped != null && !NclUtilities.HasShutdownStarted)
net\System\Net\HttpWebRequest.cs (6)
1249if (NclUtilities.IsFatal(exception)) throw; 1385if (!RequestSubmitted && NclUtilities.IsThreadPoolLow()) 1950if (!RequestSubmitted && NclUtilities.IsThreadPoolLow()) 3332if (NclUtilities.IsFatal(exception)) throw; 3890if (NclUtilities.IsFatal(unexpectedException)) throw; 5952ExecutionContext.Run(context, NclUtilities.ContextRelativeDemandCallback, permission);
net\System\Net\HttpWebResponse.cs (6)
762if (NclUtilities.IsFatal(e)) throw; 784if (NclUtilities.IsFatal(e)) throw; 812if (NclUtilities.IsFatal(e)) throw; 868if (NclUtilities.IsFatal(e)) throw; 890if (NclUtilities.IsFatal(e)) throw; 918if (NclUtilities.IsFatal(e)) throw;
net\System\Net\Internal.cs (1)
273IPAddress[] localAddresses = NclUtilities.LocalAddresses;
net\System\Net\ServicePoint.cs (5)
772m_HostLoopbackGuess = NclUtilities.GuessWhetherHostIsLoopback(m_Host) ? TriState.True : TriState.False; 1488if (NclUtilities.IsFatal(e)) throw; 1623if (NclUtilities.IsFatal(exception)) throw; 1707localAddresses = NclUtilities.LocalAddresses; 1711if (NclUtilities.IsFatal(exception)) throw;
net\System\Net\Sockets\_BaseOverlappedAsyncResult.cs (1)
757if (!NclUtilities.HasShutdownStarted)
net\System\Net\Sockets\NetworkStream.cs (1)
805if (NclUtilities.IsFatal(exception)) throw;
net\System\Net\Sockets\Socket.cs (9)
1115if (NclUtilities.IsFatal(ex)) throw; 3061if (NclUtilities.IsFatal(exception)) throw; 5261if (NclUtilities.IsFatal(exception)) throw; 6248if (NclUtilities.IsFatal(exception)) throw; 6264if (NclUtilities.IsFatal(exception)) throw; 7473if (NclUtilities.IsFatal(e)) 7560if (NclUtilities.IsFatal(e)) 7657if (NclUtilities.IsFatal(exception)) throw; 9472if (!checkForShutdown || !NclUtilities.HasShutdownStarted) {
net\System\Net\Sockets\UDPClient.cs (2)
386if (NclUtilities.IsFatal(ex)) { 395if (NclUtilities.IsFatal(ex)) {
net\System\Net\UnsafeNativeMethods.cs (1)
3519if (NclUtilities.IsFatal(e))
net\System\Net\webproxy.cs (1)
353return (IPAddress.IsLoopback(hostAddress) || NclUtilities.IsAddressLocal(hostAddress));
net\System\Net\WebSockets\WebSocketHttpListenerDuplexStream.cs (1)
1038if (!checkForShutdown || !NclUtilities.HasShutdownStarted)