Base:
property
IsInvalid
Microsoft.Win32.SafeHandles.SafeHandleMinusOneIsInvalid.IsInvalid
12 references to IsInvalid
System (12)
net\System\Net\_SafeNetHandles.cs (2)
745
if (socketHandle != null && !socketHandle.
IsInvalid
)
2761
if (result.
IsInvalid
) {
net\System\Net\Sockets\Socket.cs (10)
150
if (m_Handle.
IsInvalid
) {
192
if (m_Handle.
IsInvalid
) {
276
if (fd == null || fd.
IsInvalid
) {
1246
if (acceptedSocketHandle.
IsInvalid
) {
5095
errorCode = acceptedSocketHandle.
IsInvalid
? (SocketError) Marshal.GetLastWin32Error() : SocketError.Success;
5250
errorCode = acceptedSocket.
IsInvalid
? (SocketError) Marshal.GetLastWin32Error() : SocketError.Success;
6430
if (CleanedUp || m_Handle.
IsInvalid
) {
6471
if (silent && (CleanedUp || m_Handle.
IsInvalid
)) {
6488
if (silent && m_Handle.
IsInvalid
) {
7438
if (m_IsConnected && (m_Handle.
IsInvalid
|| (errorCode != SocketError.WouldBlock &&