1 write to RequiredNodeType
Microsoft.Build (1)
BackEnd\Components\Scheduler\ScheduleResponse.cs (1)
114
RequiredNodeType
= affinity;
13 references to RequiredNodeType
Microsoft.Build (3)
BackEnd\BuildManager\BuildManager.cs (3)
2635
IList<NodeInfo> newNodes = _nodeManager!.CreateNodes(GetNodeConfiguration(), response.
RequiredNodeType
, response.NumberOfNodesToCreate);
2640
((IBuildComponentHost)this).LoggingService.LogError(buildEventContext, new BuildEventFileInfo(String.Empty), "UnableToCreateNode", response.
RequiredNodeType
.ToString("G"));
2642
throw new BuildAbortedException(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("UnableToCreateNode", response.
RequiredNodeType
.ToString("G")));
Microsoft.Build.Engine.UnitTests (10)
BackEnd\Scheduler_Tests.cs (10)
284
Assert.Equal(NodeAffinity.OutOfProc, response[0].
RequiredNodeType
);
308
Assert.Equal(NodeAffinity.OutOfProc, response[0].
RequiredNodeType
);
361
Assert.Equal(NodeAffinity.OutOfProc, response[1].
RequiredNodeType
);
401
Assert.Equal(NodeAffinity.InProc, response[0].
RequiredNodeType
);
410
Assert.Equal(NodeAffinity.OutOfProc, moreResponses[1].
RequiredNodeType
);
439
Assert.Equal(NodeAffinity.OutOfProc, response[0].
RequiredNodeType
);
469
Assert.Equal(NodeAffinity.OutOfProc, response[1].
RequiredNodeType
);
499
Assert.Equal(NodeAffinity.OutOfProc, response[1].
RequiredNodeType
);
863
if (response.
RequiredNodeType
== NodeAffinity.InProc || (response.
RequiredNodeType
== NodeAffinity.Any && !inProcNodeExists))