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
)
1079
Debug.Assert(acceptedSocketHandle.
IsInvalid
);
1090
Debug.Assert(!acceptedSocketHandle.
IsInvalid
);
3547
if (Disposed || _handle.
IsInvalid
)
3604
if (silent && (Disposed || _handle.
IsInvalid
))
3617
if (silent && _handle.
IsInvalid
)
3783
Debug.Assert(fd != null && !fd.
IsInvalid
);
3931
if (disconnectOnFailure && _isConnected && (_handle.
IsInvalid
|| (errorCode != SocketError.WouldBlock &&
System\Net\Sockets\SocketPal.Unix.cs (1)
97
if (socket.
IsInvalid
)