24 references to Connection
System (24)
net\System\Net\_Connection.cs (5)
3751
conn.NetworkStream = new NetworkStream(connectStream.
Connection
.NetworkStream, true);
3753
connectStream.
Connection
.NetworkStream.ConvertToNotSocketOwner();
3756
originalReq.TunnelConnection = connectStream.
Connection
;
3829
NetworkStream = new NetworkStream(connectStream.
Connection
.NetworkStream, true);
3831
connectStream.
Connection
.NetworkStream.ConvertToNotSocketOwner();
net\System\Net\HttpWebRequest.cs (4)
1119
if(stream.
Connection
!= null && stream.
Connection
.IISVersion >= 6){
1734
if (submitStream != null && submitStream.
Connection
== connection) {
6110
_SubmitWriteStream.ErrorResponseNotify(_SubmitWriteStream.
Connection
.KeepAlive);
net\System\Net\HttpWebResponse.cs (3)
417
GlobalLog.Assert(connectStream.
Connection
!= null, "HttpWebResponse.m_ConnectStream.Connection should never be null in WebSocket cases.");
462
if (connectStream != null && connectStream.
Connection
!= null)
464
connectStream.
Connection
.ServicePoint.CloseConnectionGroup(ConnectionGroupName);
net\System\Net\WebSockets\WebSocketConnectionStream.cs (12)
33
: base(new WebSocketConnection(connectStream.
Connection
), false)
37
Contract.Assert(connectStream.
Connection
!= null,
39
Contract.Assert(connectStream.
Connection
.NetworkStream != null,
48
m_IsFastPathAllowed = m_ConnectStream.
Connection
.NetworkStream.GetType() == s_NetworkStreamType;
52
Logging.Associate(Logging.WebSockets, this, m_ConnectStream.
Connection
);
116
WebSocketHelpers.ThrowIfConnectionAborted(m_ConnectStream.
Connection
, true);
183
Contract.Assert(this.m_ConnectStream.
Connection
.ServicePoint != null, "connection.ServicePoint should not be null.");
184
this.m_ConnectStream.
Connection
.ServicePoint.CloseConnectionGroup(this.m_ConnectionGroupName);
215
WebSocketHelpers.ThrowIfConnectionAborted(m_ConnectStream.
Connection
, true);
261
WebSocketHelpers.ThrowIfConnectionAborted(m_ConnectStream.
Connection
, false);
330
WebSocketHelpers.ThrowIfConnectionAborted(m_ConnectStream.
Connection
, false);
388
thisPtr.m_ConnectStream.
Connection
.NetworkStream.InternalAbortSocket();