80 references to TriState
System (80)
net\System\Net\_AuthenticationManagerBase.cs (15)
28private static TriState s_OSSupportsExtendedProtection = TriState.Unspecified; 29private static TriState s_SspSupportsExtendedProtection = TriState.Unspecified; 67if (s_OSSupportsExtendedProtection == TriState.Unspecified) 71s_OSSupportsExtendedProtection = TriState.True; 82s_OSSupportsExtendedProtection = TriState.True; 86s_OSSupportsExtendedProtection = TriState.False; 91s_OSSupportsExtendedProtection = TriState.False; 96return (s_OSSupportsExtendedProtection == TriState.True); 107if (s_SspSupportsExtendedProtection == TriState.Unspecified) 111s_SspSupportsExtendedProtection = TriState.True; 140s_SspSupportsExtendedProtection = TriState.True; 145s_SspSupportsExtendedProtection = TriState.False; 160return (s_SspSupportsExtendedProtection == TriState.True);
net\System\Net\_Connection.cs (24)
594TriState startRequestResult = TriState.Unspecified; 708if (startRequestResult == TriState.Unspecified) 748if (startRequestResult != TriState.Unspecified) { 762if (startRequestResult == TriState.Unspecified && triStateAsync != null) { 795public TriState Value; 796public AsyncTriState(TriState newValue) { 831private TriState StartRequest(HttpWebRequest request, bool canPollRead) 863return TriState.Unspecified; // don't use it 874return TriState.Unspecified; // don't use it 879TriState needReConnect = TriState.False; 907needReConnect = TriState.True; 943private void CompleteStartRequest(bool onSubmitThread, HttpWebRequest request, TriState needReConnect) { 947if (needReConnect == TriState.True) { 1219private void InternalWriteStartNextRequest(HttpWebRequest request, ref bool calledCloseConnection, ref TriState startRequestResult, ref HttpWebRequest nextRequest, ref ConnectionReturnResult returnResult) { 1279GlobalLog.Assert(startRequestResult != TriState.Unspecified, "WriteStartNextRequest got TriState.Unspecified from StartRequest, things are about to hang!"); 1314TriState startRequestResult = TriState.Unspecified; 1322if (!calledCloseConnection && startRequestResult != TriState.Unspecified) 1373TriState startRequestResult = TriState.Unspecified; 1488GlobalLog.Assert(startRequestResult != TriState.Unspecified, "ReadStartNextRequest got TriState.Unspecified from StartRequest, things are about to hang!"); 1512if (startRequestResult != TriState.Unspecified)
net\System\Net\_FtpControlStream.cs (4)
1241private TriState IsFtpDataStreamWriteable() { 1245return TriState.True; 1247return TriState.False; 1250return TriState.Unspecified;
net\System\Net\_FtpDataStream.cs (3)
30internal FtpDataStream(NetworkStream networkStream, FtpWebRequest request, TriState writeOnly) { 34if (writeOnly == TriState.True) { 36} else if (writeOnly == TriState.False) {
net\System\Net\Cache\IERequestCache.cs (9)
973TriState cacheCommitAction; 979cacheCommitAction = TriState.Unspecified; // Partial 981cacheCommitAction = TriState.False; // Delete 985cacheCommitAction = TriState.True; // Full 992cacheCommitAction = TriState.False; // Delete 997cacheCommitAction = TriState.Unspecified; // Partial 999cacheCommitAction = TriState.True; // Full 1003if (cacheCommitAction == TriState.False) 1037if (cacheCommitAction == TriState.Unspecified)
net\System\Net\HttpListenerRequest.cs (9)
224private TriState m_KeepAlive; 280m_KeepAlive = TriState.Unspecified; 719if (m_KeepAlive == TriState.Unspecified) 730m_KeepAlive = TriState.True; 735m_KeepAlive = string.IsNullOrEmpty(header) ? TriState.False : TriState.True; 741m_KeepAlive = header.IndexOf("close") < 0 || header.IndexOf("keep-alive") >= 0 ? TriState.True : TriState.False; 746return m_KeepAlive == TriState.True;
net\System\Net\HttpWebRequest.cs (6)
160private TriState _RequestIsAsync; 838return _RequestIsAsync!=TriState.False; 841if (_RequestIsAsync == TriState.Unspecified) { 842_RequestIsAsync = value ? TriState.True : TriState.False; 5168_RequestIsAsync = TriState.Unspecified;
net\System\Net\ServicePoint.cs (10)
41private TriState m_HostLoopbackGuess; 118m_HostLoopbackGuess = TriState.Unspecified; 151m_HostLoopbackGuess = TriState.Unspecified; 757if (!m_UserChangedLimit && m_IPAddressInfoList == null && m_HostLoopbackGuess == TriState.Unspecified) 762if (!m_UserChangedLimit && m_IPAddressInfoList == null && m_HostLoopbackGuess == TriState.Unspecified) 768m_HostLoopbackGuess = IsAddressListLoopback(new IPAddress[] { addr }) ? TriState.True : TriState.False; 772m_HostLoopbackGuess = NclUtilities.GuessWhetherHostIsLoopback(m_Host) ? TriState.True : TriState.False; 778return m_UserChangedLimit || (m_IPAddressInfoList == null ? m_HostLoopbackGuess != TriState.True : !m_IPAddressesAreLoopback) ? m_ConnectionLimit : LoopbackConnectionLimit;