25 references to GetProcessesByName
IIS.FunctionalTests (3)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (3)
239var hostingProcesses = Process.GetProcessesByName("dotnet") 240.Concat(Process.GetProcessesByName("iisexpress")) 241.Concat(Process.GetProcessesByName("w3wp"));
IIS.LongTests (3)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (3)
239var hostingProcesses = Process.GetProcessesByName("dotnet") 240.Concat(Process.GetProcessesByName("iisexpress")) 241.Concat(Process.GetProcessesByName("w3wp"));
IIS.NewHandler.FunctionalTests (3)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (3)
239var hostingProcesses = Process.GetProcessesByName("dotnet") 240.Concat(Process.GetProcessesByName("iisexpress")) 241.Concat(Process.GetProcessesByName("w3wp"));
IIS.NewShim.FunctionalTests (3)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (3)
239var hostingProcesses = Process.GetProcessesByName("dotnet") 240.Concat(Process.GetProcessesByName("iisexpress")) 241.Concat(Process.GetProcessesByName("w3wp"));
IIS.ShadowCopy.Tests (3)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (3)
239var hostingProcesses = Process.GetProcessesByName("dotnet") 240.Concat(Process.GetProcessesByName("iisexpress")) 241.Concat(Process.GetProcessesByName("w3wp"));
IISExpress.FunctionalTests (3)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (3)
239var hostingProcesses = Process.GetProcessesByName("dotnet") 240.Concat(Process.GetProcessesByName("iisexpress")) 241.Concat(Process.GetProcessesByName("w3wp"));
Microsoft.Build (2)
BackEnd\Components\Communications\NodeProviderOutOfProcBase.cs (2)
155nodeProcesses.AddRange(Process.GetProcessesByName(Path.GetFileNameWithoutExtension(msbuildtaskhostExeName))); 404var processes = Process.GetProcessesByName(expectedProcessName);
Microsoft.Build.Engine.UnitTests (3)
BackEnd\BuildManager_Tests.cs (3)
347int numberProcsOriginally = (new List<Process>(Process.GetProcessesByName("MSBuild"))).Count; 378int numberProcsAfterBuild = (new List<Process>(Process.GetProcessesByName("MSBuild"))).Count; 389int numberProcsAfterShutdown = (new List<Process>(Process.GetProcessesByName("MSBuild"))).Count;
Microsoft.Extensions.Caching.StackExchangeRedis.Tests (1)
Infrastructure\RedisTestConfig.cs (1)
94var process = Process.GetProcessesByName(FunctionalTestsRedisServerExeName).SingleOrDefault();
UIAutomationClientSideProviders (1)
MS\Internal\AutomationProxies\WinEventTracker.cs (1)
505Process[] localByName = Process.GetProcessesByName("csrss");