21 references to GetProcessById
csc (1)
src\Compilers\Shared\BuildServerConnection.cs (1)
122var 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 (2)
BackEnd\Components\Communications\DetouredNodeLauncher.cs (1)
142return Process.GetProcessById(sp.ProcessId);
BackEnd\Components\Communications\NodeLauncher.cs (1)
190return Process.GetProcessById(childProcessId);
Microsoft.Build.CommandLine.UnitTests (2)
MSBuildServer_Tests.cs (2)
118Process.GetProcessById(pidOfServerProcess).KillTree(1000); 249var serverProcess = Process.GetProcessById(pidOfServerProcess);
Microsoft.Build.Engine.UnitTests (1)
BackEnd\TaskHostFactory_Tests.cs (1)
53Process taskHostNode = Process.GetProcessById(pid);
Microsoft.Build.Framework (1)
NativeMethods.cs (1)
1317thisProcess = Process.GetProcessById(processIdToKill);
Microsoft.Build.Tasks.CodeAnalysis (1)
src\Compilers\Shared\BuildServerConnection.cs (1)
122var process = Process.GetProcessById(shutdownBuildResponse.ServerProcessId);
Microsoft.Build.UnitTests.Shared (1)
TestEnvironment.cs (1)
638Process.GetProcessById(_processId).KillTree(1000);
Microsoft.CodeAnalysis.InteractiveHost (1)
Interactive\Core\InteractiveHost.Service.cs (1)
195clientProcess = Process.GetProcessById(clientProcessId);
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);
MSBuildTaskHost (1)
NativeMethods.cs (1)
1317thisProcess = Process.GetProcessById(processIdToKill);
Replay (1)
src\Compilers\Shared\BuildServerConnection.cs (1)
122var process = Process.GetProcessById(shutdownBuildResponse.ServerProcessId);
UIAutomationClient (1)
MS\Internal\Automation\HwndProxyElementProvider.cs (1)
444targetProcess = System.Diagnostics.Process.GetProcessById( pid );
UIAutomationClientSideProviders (2)
MS\Internal\AutomationProxies\Misc.cs (1)
1838string processName = System.Diagnostics.Process.GetProcessById((int)processId).ProcessName;
MS\Internal\AutomationProxies\WinEventTracker.cs (1)
488return Misc.ProxyGetClassName(Process.GetProcessById(processId).MainWindowHandle).Equals("ConsoleWindowClass");
vbc (1)
src\Compilers\Shared\BuildServerConnection.cs (1)
122var process = Process.GetProcessById(shutdownBuildResponse.ServerProcessId);
VBCSCompiler (1)
src\Compilers\Shared\BuildServerConnection.cs (1)
122var process = Process.GetProcessById(shutdownBuildResponse.ServerProcessId);