12 references to ProcessMaxCPUCountSwitch
Microsoft.Build.CommandLine.UnitTests (11)
XMake_Tests.cs (11)
660MSBuildApp.ProcessMaxCPUCountSwitch(new[] { "1" }).ShouldBe(1); 661MSBuildApp.ProcessMaxCPUCountSwitch(new[] { "2" }).ShouldBe(2); 662MSBuildApp.ProcessMaxCPUCountSwitch(new[] { "3" }).ShouldBe(3); 663MSBuildApp.ProcessMaxCPUCountSwitch(new[] { "4" }).ShouldBe(4); 664MSBuildApp.ProcessMaxCPUCountSwitch(new[] { "8" }).ShouldBe(8); 665MSBuildApp.ProcessMaxCPUCountSwitch(new[] { "63" }).ShouldBe(63); 668MSBuildApp.ProcessMaxCPUCountSwitch(new[] { "8", "4" }).ShouldBe(4); 676MSBuildApp.ProcessMaxCPUCountSwitch(new[] { "-1" }); 685MSBuildApp.ProcessMaxCPUCountSwitch(new[] { "0" }); 694MSBuildApp.ProcessMaxCPUCountSwitch(new[] { "foo" }); 704MSBuildApp.ProcessMaxCPUCountSwitch(new[] { "1025" });
MSBuild (1)
XMake.cs (1)
2685cpuCount = ProcessMaxCPUCountSwitch(commandLineSwitches[CommandLineSwitches.ParameterizedSwitch.MaxCPUCount]);