17 references to InProcNodeId
Microsoft.Build (12)
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (1)
361if (_componentHost.BuildParameters.NodeId != Scheduler.InProcNodeId)
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (2)
441int nodeId = Scheduler.InProcNodeId; 550if (nodeBuildEventContext.NodeId == Scheduler.InProcNodeId)
BackEnd\Components\ProjectCache\ProjectCacheService.cs (1)
488Scheduler.InProcNodeId);
BackEnd\Components\Scheduler\Scheduler.cs (8)
633_inprocNodeContext = new NodeLoggingContext(_componentHost.LoggingService, InProcNodeId, true); 993if (idleNodes.Contains(InProcNodeId)) 998if (CanScheduleRequestToNode(request, InProcNodeId) && shouldBeScheduled(request)) 1000AssignUnscheduledRequestToNode(request, InProcNodeId, responses); 1001idleNodes.Remove(InProcNodeId); 1385if (request.IsProxyBuildRequest() && nodeId != InProcNodeId && _schedulingData.CanScheduleRequestToNode(request, InProcNodeId)) 2181if (_schedulingData.CanScheduleConfigurationToNode(request.ConfigurationId, InProcNodeId) && request.IsProxyBuildRequest())
Microsoft.Build.Engine.UnitTests (5)
BackEnd\LoggingServicesLogMethod_Tests.cs (4)
870projectCacheBuildEventContext.NodeId.ShouldBe(Scheduler.InProcNodeId); 873BuildEventContext nodeBuildEventContext = new BuildEventContext(Scheduler.InProcNodeId, BuildEventContext.InvalidTargetId, BuildEventContext.InvalidProjectContextId, BuildEventContext.InvalidTaskId); 908BuildEventContext nodeBuildEventContext = new BuildEventContext(Scheduler.InProcNodeId, BuildEventContext.InvalidTargetId, BuildEventContext.InvalidProjectContextId, BuildEventContext.InvalidTaskId); 939NodeId.ShouldNotBe(Scheduler.InProcNodeId);
BackEnd\Scheduler_Tests.cs (1)
557Assert.Equal(Scheduler.InProcNodeId, response[0].NodeId);