3 instantiations of SafeProcessHandle
System.Diagnostics.Process (3)
Microsoft\Win32\SafeHandles\SafeProcessHandle.cs (1)
20internal static readonly SafeProcessHandle InvalidHandle = new SafeProcessHandle();
System\Diagnostics\Process.Unix.cs (2)
359return new SafeProcessHandle(_processId, GetSafeWaitHandle()); 534SetProcessHandle(new SafeProcessHandle(_processId, GetSafeWaitHandle()));
12 references to SafeProcessHandle
Microsoft.CodeAnalysis.Remote.Workspaces (2)
BrokeredServiceConnection.cs (2)
51private readonly SafeProcessHandle? _remoteProcessHandle; 416public static extern bool GetExitCodeProcess(SafeProcessHandle processHandle, out int exitCode);
netstandard (1)
netstandard.cs (1)
13[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(Microsoft.Win32.SafeHandles.SafeProcessHandle))]
PresentationCore (1)
MS\Internal\DpiUtil\DpiUtil+ProcessDpiAwarenessHelper.cs (1)
104using (var hProcess = new SafeProcessHandle(UnsafeNativeMethods.OpenProcess(NativeMethods.PROCESS_ALL_ACCESS, false, windowThreadProcessId), true))
System (1)
src\libraries\shims\System\ref\System.cs (1)
9[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(Microsoft.Win32.SafeHandles.SafeProcessHandle))]
System.Diagnostics.Process (7)
Microsoft\Win32\SafeHandles\SafeProcessHandle.cs (1)
20internal static readonly SafeProcessHandle InvalidHandle = new SafeProcessHandle();
System\Diagnostics\Process.cs (4)
30private SafeProcessHandle? _processHandle; 121public SafeProcessHandle SafeHandle 1190private SafeProcessHandle GetOrOpenProcessHandle() 1206private void SetProcessHandle(SafeProcessHandle processHandle)
System\Diagnostics\Process.Unix.cs (1)
349private SafeProcessHandle GetProcessHandle()
System\Diagnostics\ProcessManager.Unix.cs (1)
60public static int GetProcessIdFromHandle(SafeProcessHandle processHandle)