3 instantiations of SafeProcessHandle
System.Diagnostics.Process (3)
Microsoft\Win32\SafeHandles\SafeProcessHandle.cs (1)
20
internal static readonly SafeProcessHandle InvalidHandle = new
SafeProcessHandle
();
System\Diagnostics\Process.Unix.cs (2)
359
return new
SafeProcessHandle
(_processId, GetSafeWaitHandle());
534
SetProcessHandle(new
SafeProcessHandle
(_processId, GetSafeWaitHandle()));
12 references to SafeProcessHandle
Microsoft.CodeAnalysis.Remote.Workspaces (2)
BrokeredServiceConnection.cs (2)
51
private readonly
SafeProcessHandle
? _remoteProcessHandle;
416
public 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)
104
using (
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)
20
internal static readonly
SafeProcessHandle
InvalidHandle = new SafeProcessHandle();
System\Diagnostics\Process.cs (4)
30
private
SafeProcessHandle
? _processHandle;
121
public
SafeProcessHandle
SafeHandle
1190
private
SafeProcessHandle
GetOrOpenProcessHandle()
1206
private void SetProcessHandle(
SafeProcessHandle
processHandle)
System\Diagnostics\Process.Unix.cs (1)
349
private
SafeProcessHandle
GetProcessHandle()
System\Diagnostics\ProcessManager.Unix.cs (1)
60
public static int GetProcessIdFromHandle(
SafeProcessHandle
processHandle)