15 references to InitHandle
Microsoft.AspNetCore.Server.HttpSys (2)
_generated\78\Windows.Win32.PInvoke.HTTPAPI.dll.g.cs (1)
137 global::System.Runtime.InteropServices.Marshal.InitHandle(RequestQueueHandle, RequestQueueHandleLocal);
_generated\79\Windows.Win32.PInvoke.KERNEL32.dll.g.cs (1)
93 global::System.Runtime.InteropServices.Marshal.InitHandle(__resultSafeHandle, __result);
System.Data.OleDb (3)
OleDbWrapper.cs (3)
82Marshal.InitHandle(newWrapper, handle); 221Marshal.InitHandle(newWrapper, handle); 254Marshal.InitHandle(newWrapper, handle);
System.Net.NetworkInformation (1)
System\Net\NetworkInformation\NetworkAddressChange.Unix.cs (1)
168Marshal.InitHandle(sh, newSocket);
System.Net.Sockets (2)
System\Net\Sockets\SocketPal.Unix.cs (2)
94Marshal.InitHandle(socket, fd); 1151Marshal.InitHandle(socket, acceptedFd);
System.Private.CoreLib (3)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshalling\SafeHandleMarshaller.cs (2)
108Marshal.InitHandle(_newHandle, value); 175Marshal.InitHandle(_newHandle, value);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\WaitSubsystem.Unix.cs (1)
165Marshal.InitHandle(safeWaitHandle, handle);
System.Security.Cryptography (2)
System\Security\Cryptography\CngKey.OpenHandle.cs (1)
38Marshal.InitHandle(providerHandle, rawProviderHandle);
System\Security\Cryptography\X509Certificates\WindowsInterop.crypt32.cs (1)
70Marshal.InitHandle(pCertContext, (IntPtr)Crypt32.CertEnumCertificatesInStore(hCertStore, pPrevCertContext));
System.ServiceProcess.ServiceController (2)
System\ServiceProcess\ServiceController.cs (2)
632Marshal.InitHandle(databaseHandle, machineName.Equals(DefaultMachineName) || machineName.Length == 0 ? 686Marshal.InitHandle(serviceHandle, Interop.Advapi32.OpenService(_serviceManagerHandle, ServiceName, desiredAccess));