18 references to GetProcessById
Aspire.Hosting (2)
Cli\CliOrphanDetector.cs (2)
16return !Process.GetProcessById(pid).HasExited; 29var process = Process.GetProcessById(pid);
csc (1)
src\Compilers\Shared\BuildServerConnection.cs (1)
125var process = Process.GetProcessById(shutdownBuildResponse.ServerProcessId);
HelixTestRunner (1)
ProcessUtil.cs (1)
47var process = Process.GetProcessById(pid);
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (1)
IISDeployer.cs (1)
280HostProcess = Process.GetProcessById(workerProcess.ProcessId);
Microsoft.Build.Framework (1)
NativeMethods.cs (1)
1316thisProcess = Process.GetProcessById(processIdToKill);
Microsoft.Build.Tasks.CodeAnalysis (1)
src\Compilers\Shared\BuildServerConnection.cs (1)
125var process = Process.GetProcessById(shutdownBuildResponse.ServerProcessId);
Microsoft.Build.Tasks.CodeAnalysis.Sdk (1)
src\Compilers\Shared\BuildServerConnection.cs (1)
125var process = Process.GetProcessById(shutdownBuildResponse.ServerProcessId);
Microsoft.CodeAnalysis.InteractiveHost (1)
Interactive\Core\InteractiveHost.Service.cs (1)
197clientProcess = Process.GetProcessById(clientProcessId);
Microsoft.CodeAnalysis.Remote.Workspaces (1)
ServiceHubRemoteHostClient.cs (1)
89client._remoteProcess = Process.GetProcessById(remoteProcessIdAndErrorMessage.Value.processId);
Microsoft.Extensions.Hosting.WindowsServices (1)
Internal\Win32.cs (1)
36return Process.GetProcessById(procEntry.th32ParentProcessID);
Microsoft.VisualBasic.IntegrationTests (1)
InteractionTests.cs (1)
92Process process = Process.GetProcessById(processId);
Replay (1)
src\Compilers\Shared\BuildServerConnection.cs (1)
125var process = Process.GetProcessById(shutdownBuildResponse.ServerProcessId);
UIAutomationClient (1)
MS\Internal\Automation\HwndProxyElementProvider.cs (1)
432targetProcess = System.Diagnostics.Process.GetProcessById( pid );
UIAutomationClientSideProviders (2)
MS\Internal\AutomationProxies\Misc.cs (1)
1815string processName = System.Diagnostics.Process.GetProcessById((int)processId).ProcessName;
MS\Internal\AutomationProxies\WinEventTracker.cs (1)
475return Misc.ProxyGetClassName(Process.GetProcessById(processId).MainWindowHandle).Equals("ConsoleWindowClass");
vbc (1)
src\Compilers\Shared\BuildServerConnection.cs (1)
125var process = Process.GetProcessById(shutdownBuildResponse.ServerProcessId);
VBCSCompiler (1)
src\Compilers\Shared\BuildServerConnection.cs (1)
125var process = Process.GetProcessById(shutdownBuildResponse.ServerProcessId);