5 writes to _isConnected
System.Net.Sockets (5)
System\Net\Sockets\Socket.cs (4)
212
_isConnected
= true;
221
_isConnected
= true;
3845
_isConnected
= true;
3891
_isConnected
= false;
System\Net\Sockets\Socket.Unix.cs (1)
279
_isConnected
= source._isConnected;
12 references to _isConnected
System.Net.Sockets (12)
System\Net\Sockets\Socket.cs (10)
352
if (_rightEndPoint == null || !
_isConnected
)
453
if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"_isConnected:{
_isConnected
}");
457
return
_isConnected
;
2815
SocketError errorCode = SocketPal.Shutdown(_handle,
_isConnected
, _isDisconnected, how);
3454
errorCode = SocketPal.Shutdown(handle,
_isConnected
, _isDisconnected, SocketShutdown.Send);
3554
SocketPal.Shutdown(_handle,
_isConnected
, _isDisconnected, how);
3835
if (
_isConnected
)
3883
if (!
_isConnected
)
3931
if (disconnectOnFailure &&
_isConnected
&& (_handle.IsInvalid || (errorCode != SocketError.WouldBlock &&
4035
if (
_isConnected
&& _socketType == SocketType.Stream)
System\Net\Sockets\Socket.Tasks.cs (1)
182
if (
_isConnected
)
System\Net\Sockets\Socket.Unix.cs (1)
279
_isConnected = source.
_isConnected
;