17 references to InProcNodeId
Microsoft.Build (12)
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (1)
367
if (_componentHost.BuildParameters.NodeId != Scheduler.
InProcNodeId
)
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (2)
421
int nodeId = Scheduler.
InProcNodeId
;
563
if (nodeBuildEventContext.NodeId == Scheduler.
InProcNodeId
)
BackEnd\Components\ProjectCache\ProjectCacheService.cs (1)
492
Scheduler.
InProcNodeId
);
BackEnd\Components\Scheduler\Scheduler.cs (8)
632
_inprocNodeContext = new NodeLoggingContext(_componentHost.LoggingService,
InProcNodeId
, true);
992
if (idleNodes.Contains(
InProcNodeId
))
997
if (CanScheduleRequestToNode(request,
InProcNodeId
) && shouldBeScheduled(request))
999
AssignUnscheduledRequestToNode(request,
InProcNodeId
, responses);
1000
idleNodes.Remove(
InProcNodeId
);
1381
if (request.IsProxyBuildRequest() && nodeId !=
InProcNodeId
&& _schedulingData.CanScheduleRequestToNode(request,
InProcNodeId
))
2177
if (_schedulingData.CanScheduleConfigurationToNode(request.ConfigurationId,
InProcNodeId
) && request.IsProxyBuildRequest())
Microsoft.Build.Engine.UnitTests (5)
BackEnd\LoggingServicesLogMethod_Tests.cs (4)
871
projectCacheBuildEventContext.NodeId.ShouldBe(Scheduler.
InProcNodeId
);
874
BuildEventContext nodeBuildEventContext = new BuildEventContext(Scheduler.
InProcNodeId
, BuildEventContext.InvalidTargetId, BuildEventContext.InvalidProjectContextId, BuildEventContext.InvalidTaskId);
909
BuildEventContext nodeBuildEventContext = new BuildEventContext(Scheduler.
InProcNodeId
, BuildEventContext.InvalidTargetId, BuildEventContext.InvalidProjectContextId, BuildEventContext.InvalidTaskId);
940
NodeId.ShouldNotBe(Scheduler.
InProcNodeId
);
BackEnd\Scheduler_Tests.cs (1)
556
Assert.Equal(Scheduler.
InProcNodeId
, response[0].NodeId);