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