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