17 references to InProcNodeId
Microsoft.Build (12)
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (1)
364if (_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)
491Scheduler.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)
872projectCacheBuildEventContext.NodeId.ShouldBe(Scheduler.InProcNodeId); 875BuildEventContext nodeBuildEventContext = new BuildEventContext(Scheduler.InProcNodeId, BuildEventContext.InvalidTargetId, BuildEventContext.InvalidProjectContextId, BuildEventContext.InvalidTaskId); 910BuildEventContext nodeBuildEventContext = new BuildEventContext(Scheduler.InProcNodeId, BuildEventContext.InvalidTargetId, BuildEventContext.InvalidProjectContextId, BuildEventContext.InvalidTaskId); 941NodeId.ShouldNotBe(Scheduler.InProcNodeId);
BackEnd\Scheduler_Tests.cs (1)
557Assert.Equal(Scheduler.InProcNodeId, response[0].NodeId);