1 write to NumberOfNodesToCreate
Microsoft.Build (1)
BackEnd\Components\Scheduler\ScheduleResponse.cs (1)
115
NumberOfNodesToCreate
= count;
12 references to NumberOfNodesToCreate
Microsoft.Build (3)
BackEnd\BuildManager\BuildManager.cs (2)
2635
IList<NodeInfo> newNodes = _nodeManager!.CreateNodes(GetNodeConfiguration(), response.RequiredNodeType, response.
NumberOfNodesToCreate
);
2637
if (newNodes?.Count != response.
NumberOfNodesToCreate
|| newNodes.Any(n => n == null))
BackEnd\Components\Scheduler\ScheduleResponse.cs (1)
255
return String.Format(CultureInfo.CurrentCulture, "Act: {0} Count: {1}", Action,
NumberOfNodesToCreate
);
Microsoft.Build.Engine.UnitTests (9)
BackEnd\Scheduler_Tests.cs (9)
285
Assert.Equal(1, response[0].
NumberOfNodesToCreate
);
309
Assert.Equal(2, response[0].
NumberOfNodesToCreate
);
362
Assert.Equal(2, response[1].
NumberOfNodesToCreate
);
402
Assert.Equal(1, response[0].
NumberOfNodesToCreate
);
411
Assert.Equal(1, moreResponses[1].
NumberOfNodesToCreate
);
440
Assert.Equal(3, response[0].
NumberOfNodesToCreate
);
470
Assert.Equal(2, response[1].
NumberOfNodesToCreate
);
500
Assert.Equal(2, response[1].
NumberOfNodesToCreate
);
873
for (int i = 0; i < response.
NumberOfNodesToCreate
; i++)