2 writes to handle
mscorlib (2)
system\runtime\interopservices\criticalhandle.cs (2)
162
handle
= invalidHandleValue;
216
this.
handle
= handle;
12 references to handle
mscorlib (3)
microsoft\win32\safehandles\win32safehandles.cs (3)
91
get { return
handle
.IsNull() ||
handle
== new IntPtr(-1); }
109
get { return
handle
== new IntPtr(-1); }
System (4)
net\System\Net\_SafeNetHandles.cs (4)
294
return
handle
;
300
return UnsafeNclNativeMethods.SafeNetHandles.CloseHandle(
handle
);
336
return
handle
;
342
return (UnsafeNclNativeMethods.SafeNetHandles.HttpCloseRequestQueue(
handle
) ==
System.Runtime.Remoting (2)
channels\ipc\win32namedpipes.cs (2)
21
get { return
handle
; }
26
return NativePipe.CloseHandle(
handle
) != 0;
System.ServiceModel (3)
System\ServiceModel\Channels\PeerUnsafeNativeMethods.cs (2)
330
return (safeHandle != null) ? safeHandle.
handle
: (IntPtr)null;
335
Marshal.FreeHGlobal(
handle
);
System\ServiceModel\Channels\PnrpPeerResolver.cs (1)
1585
return WSALookupServiceEnd(
handle
) == 0;