6 references to SafeHandle
Microsoft.CodeAnalysis.Remote.Workspaces (1)
BrokeredServiceConnection.cs (1)
72_remoteProcessHandle = _remoteProcess?.SafeHandle;
Microsoft.DotNet.RemoteExecutor (1)
MiniDump.cs (1)
31if (MiniDumpWriteDump(process.SafeHandle, process.Id, fs.SafeFileHandle, MiniDumpType, IntPtr.Zero, IntPtr.Zero, IntPtr.Zero) == 0)
System.Diagnostics.Process (4)
System\Diagnostics\Process.cs (1)
131public IntPtr Handle => SafeHandle.DangerousGetHandle();
System\Diagnostics\Process.Scenarios.cs (3)
233exitStatus = process.SafeHandle.WaitForExitOrKillOnTimeout(remaining); 237exitStatus = process.SafeHandle.WaitForExit(); 305ProcessExitStatus exitStatus = await process.SafeHandle.WaitForExitOrKillOnCancellationAsync(cancellationToken).ConfigureAwait(false);