17 references to InProcNodeId
Microsoft.Build (12)
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (1)
387if (!_componentHost.BuildParameters.MultiThreaded && _componentHost.BuildParameters.NodeId != Scheduler.InProcNodeId)
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (2)
421int nodeId = Scheduler.InProcNodeId; 563if (nodeBuildEventContext.NodeId == Scheduler.InProcNodeId)
BackEnd\Components\ProjectCache\ProjectCacheService.cs (1)
569Scheduler.InProcNodeId);
BackEnd\Components\Scheduler\Scheduler.cs (8)
677_inprocNodeContext = new NodeLoggingContext(_componentHost.LoggingService, InProcNodeId, true); 1037if (idleNodes.Contains(InProcNodeId)) 1051if (CanScheduleRequestToNode(request, InProcNodeId) && shouldBeScheduled(request)) 1053AssignUnscheduledRequestToNode(request, InProcNodeId, responses); 1054idleNodes.Remove(InProcNodeId); 1437if (request.IsProxyBuildRequest() && nodeId != InProcNodeId && _schedulingData.CanScheduleRequestToNode(request, InProcNodeId)) 2251if (_schedulingData.CanScheduleConfigurationToNode(request.ConfigurationId, InProcNodeId) && request.IsProxyBuildRequest())
Microsoft.Build.Engine.UnitTests (5)
BackEnd\LoggingServicesLogMethod_Tests.cs (4)
871projectCacheBuildEventContext.NodeId.ShouldBe(Scheduler.InProcNodeId); 874BuildEventContext nodeBuildEventContext = new BuildEventContext(Scheduler.InProcNodeId, BuildEventContext.InvalidTargetId, BuildEventContext.InvalidProjectContextId, BuildEventContext.InvalidTaskId); 909BuildEventContext nodeBuildEventContext = new BuildEventContext(Scheduler.InProcNodeId, BuildEventContext.InvalidTargetId, BuildEventContext.InvalidProjectContextId, BuildEventContext.InvalidTaskId); 940NodeId.ShouldNotBe(Scheduler.InProcNodeId);
BackEnd\Scheduler_Tests.cs (1)
561Assert.Equal(Scheduler.InProcNodeId, response[0].NodeId);