Base:
12 references to IsInvalid
System.Net.Sockets (12)
System\Net\Sockets\SafeSocketHandle.cs (1)
177
if (
IsInvalid
)
System\Net\Sockets\Socket.cs (10)
89
Debug.Assert(_handle.
IsInvalid
);
95
Debug.Assert(!_handle.
IsInvalid
);
241
if (handle.
IsInvalid
)
1077
Debug.Assert(acceptedSocketHandle.
IsInvalid
);
1088
Debug.Assert(!acceptedSocketHandle.
IsInvalid
);
3542
if (Disposed || _handle.
IsInvalid
)
3599
if (silent && (Disposed || _handle.
IsInvalid
))
3612
if (silent && _handle.
IsInvalid
)
3778
Debug.Assert(fd != null && !fd.
IsInvalid
);
3926
if (disconnectOnFailure && _isConnected && (_handle.
IsInvalid
|| (errorCode != SocketError.WouldBlock &&
System\Net\Sockets\SocketPal.Unix.cs (1)
97
if (socket.
IsInvalid
)