38 references to InProc
Microsoft.Build (10)
BackEnd\Components\Communications\NodeInfo.cs (1)
92NodeAffinity.InProc => _providerType == NodeProviderType.InProc,
BackEnd\Components\Communications\NodeManager.cs (1)
98if ((nodeAffinity == NodeAffinity.Any || nodeAffinity == NodeAffinity.InProc) && !_componentHost!.BuildParameters.DisableInProcNode)
BackEnd\Components\Scheduler\Scheduler.cs (6)
1496case NodeAffinity.InProc: 1555TraceScheduler("Requesting creation of new node satisfying affinity {0}", NodeAffinity.InProc); 1556responses.Add(ScheduleResponse.CreateNewNodeResponse(NodeAffinity.InProc, 1)); 1737existingRequestAffinity = (_availableNodes[assignedNodeId].ProviderType == NodeProviderType.InProc) ? NodeAffinity.InProc : NodeAffinity.OutOfProc; 2170return NodeAffinity.InProc; 2179return NodeAffinity.InProc;
Instance\HostServices.cs (2)
217ErrorUtilities.VerifyThrowInvalidOperation(nodeAffinity == NodeAffinity.InProc, "InvalidAffinityForProjectWithHostObject"); 273return NodeAffinity.InProc;
Microsoft.Build.Engine.UnitTests (28)
BackEnd\BuildManager_Tests.cs (2)
2226data.HostServices.SetNodeAffinity(data.ProjectFullPath, NodeAffinity.InProc); 3381services.SetNodeAffinity(fileName, NodeAffinity.InProc);
BackEnd\Scheduler_Tests.cs (5)
394BuildRequest request2 = CreateBuildRequest(2, 1, new string[] { "bar" }, NodeAffinity.InProc, _defaultParentRequest); 395BuildRequest request3 = CreateBuildRequest(3, 1, new string[] { "bar" }, NodeAffinity.InProc, _defaultParentRequest); 400Assert.Equal(NodeAffinity.InProc, response[0].RequiredNodeType); 589BuildRequest request3 = CreateBuildRequest(3, 3, new string[] { "bar" }, NodeAffinity.InProc, _defaultParentRequest); 862if (response.RequiredNodeType == NodeAffinity.InProc || (response.RequiredNodeType == NodeAffinity.Any && !inProcNodeExists))
Instance\HostServices_Tests.cs (21)
126Assert.Equal(NodeAffinity.InProc, hostServices.GetNodeAffinity("project")); 136hostServices.SetNodeAffinity("project", NodeAffinity.InProc); 137Assert.Equal(NodeAffinity.InProc, hostServices.GetNodeAffinity("project")); 152hostServices.SetNodeAffinity("project1", NodeAffinity.InProc); 164hostServices.SetNodeAffinity(String.Empty, NodeAffinity.InProc); 165Assert.Equal(NodeAffinity.InProc, hostServices.GetNodeAffinity("project")); 166Assert.Equal(NodeAffinity.InProc, hostServices.GetNodeAffinity("project2")); 185hostServices.SetNodeAffinity(String.Empty, NodeAffinity.InProc); 188Assert.Equal(NodeAffinity.InProc, hostServices.GetNodeAffinity("project2")); 221Assert.Equal(NodeAffinity.InProc, hostServices.GetNodeAffinity("project")); 236Assert.Equal(NodeAffinity.InProc, hostServices.GetNodeAffinity("project")); 262Assert.Equal(NodeAffinity.InProc, hostServices.GetNodeAffinity("project")); 263hostServices.SetNodeAffinity("project", NodeAffinity.InProc); 264Assert.Equal(NodeAffinity.InProc, hostServices.GetNodeAffinity("project")); 291Assert.Equal(NodeAffinity.InProc, hostServices.GetNodeAffinity("project")); 316hostServices.SetNodeAffinity(String.Empty, NodeAffinity.InProc); 328hostServices.SetNodeAffinity("project", NodeAffinity.InProc); 344hostServices.GetNodeAffinity("project").ShouldBe(NodeAffinity.InProc); 356Assert.Equal(NodeAffinity.InProc, hostServices.GetNodeAffinity("project")); 377Assert.Equal(NodeAffinity.InProc, hostServices.GetNodeAffinity("project")); 394hostServices.SetNodeAffinity(project.FullPath, NodeAffinity.InProc);