7 references to SetHandle
System (2)
net\System\Net\_SafeNetHandles.cs (2)
371SetHandle(new IntPtr(1)); 1361SetHandle(new IntPtr(0)); // make this handle valid
System.Runtime.Remoting (1)
channels\ipc\win32namedpipes.cs (1)
16SetHandle(handle);
System.ServiceModel (4)
System\ServiceModel\Channels\PeerUnsafeNativeMethods.cs (3)
265result.SetHandle(Marshal.AllocHGlobal(size)); 317result.SetHandle(Marshal.AllocHGlobal(size)); 346result.SetHandle(Marshal.AllocHGlobal(size));
System\ServiceModel\Channels\PnrpPeerResolver.cs (1)
1434result.SetHandle(Marshal.StringToHGlobalUni(input));