7 writes to m_ErrorException
System (7)
net\System\Net\_ConnectStream.cs (7)
173
Interlocked.CompareExchange<Exception>(ref
m_ErrorException
, new IOException(SR.GetString(SR.net_io_readfailure, SR.GetString(SR.net_io_connectionclosed))), null);
1264
Interlocked.CompareExchange<Exception>(ref
m_ErrorException
, userException, null);
1795
m_ErrorException
= new WebException(
2671
m_ErrorException
= exception;
2700
m_ErrorException
=
3038
Interlocked.CompareExchange<Exception>(ref
m_ErrorException
, new IOException(Msg), null);
3042
willThrow &= Interlocked.CompareExchange<Exception>(ref
m_ErrorException
, exception, null) != null;
24 references to m_ErrorException
System (24)
net\System\Net\_ConnectStream.cs (24)
171
if (
m_ErrorException
== null)
365
return
m_ErrorException
!=null;
903
GlobalLog.Print("ConnectStream#" + ValidationHelper.HashString(this) + "::InternalWrite() throwing:" +
m_ErrorException
.ToString());
904
throw
m_ErrorException
;
1262
if (userException != null &&
m_ErrorException
== null)
1321
GlobalLog.LeaveException("ConnectStream#" + ValidationHelper.HashString(this) + "::EndWrite",
m_ErrorException
);
1322
throw
m_ErrorException
;
1387
throw
m_ErrorException
;
1557
throw
m_ErrorException
; // CloseInternal will process this case as abnormal
1656
throw
m_ErrorException
;
1780
GlobalLog.LeaveException("ConnectStream::BeginReadWithoutValidation",
m_ErrorException
);
1781
throw
m_ErrorException
;
1799
GlobalLog.LeaveException("ConnectStream::BeginReadWithoutValidation",
m_ErrorException
);
1800
throw
m_ErrorException
;
1833
GlobalLog.LeaveException("ConnectStream::InternalBeginRead",
m_ErrorException
);
1834
throw
m_ErrorException
;
1936
GlobalLog.LeaveException("ConnectStream::EndRead",
m_ErrorException
);
1937
throw
m_ErrorException
;
2001
if (
m_ErrorException
!= null) {
2002
throw (
m_ErrorException
);
3028
if (
m_ErrorException
== null)
3049
m_Connection.HandleConnectStreamException(true, false, WebExceptionStatus.SendFailure, ref returnResult,
m_ErrorException
);
3051
m_Connection.HandleConnectStreamException(false, true, WebExceptionStatus.ReceiveFailure, ref returnResult,
m_ErrorException
);
3060
throw
m_ErrorException
;