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