17 references to InProcNodeId
Microsoft.Build (12)
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (1)
364
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)
491
Scheduler.
InProcNodeId
);
BackEnd\Components\Scheduler\Scheduler.cs (8)
633
_inprocNodeContext = new NodeLoggingContext(_componentHost.LoggingService,
InProcNodeId
, true);
993
if (idleNodes.Contains(
InProcNodeId
))
998
if (CanScheduleRequestToNode(request,
InProcNodeId
) && shouldBeScheduled(request))
1000
AssignUnscheduledRequestToNode(request,
InProcNodeId
, responses);
1001
idleNodes.Remove(
InProcNodeId
);
1385
if (request.IsProxyBuildRequest() && nodeId !=
InProcNodeId
&& _schedulingData.CanScheduleRequestToNode(request,
InProcNodeId
))
2181
if (_schedulingData.CanScheduleConfigurationToNode(request.ConfigurationId,
InProcNodeId
) && request.IsProxyBuildRequest())
Microsoft.Build.Engine.UnitTests (5)
BackEnd\LoggingServicesLogMethod_Tests.cs (4)
872
projectCacheBuildEventContext.NodeId.ShouldBe(Scheduler.
InProcNodeId
);
875
BuildEventContext nodeBuildEventContext = new BuildEventContext(Scheduler.
InProcNodeId
, BuildEventContext.InvalidTargetId, BuildEventContext.InvalidProjectContextId, BuildEventContext.InvalidTaskId);
910
BuildEventContext nodeBuildEventContext = new BuildEventContext(Scheduler.
InProcNodeId
, BuildEventContext.InvalidTargetId, BuildEventContext.InvalidProjectContextId, BuildEventContext.InvalidTaskId);
941
NodeId.ShouldNotBe(Scheduler.
InProcNodeId
);
BackEnd\Scheduler_Tests.cs (1)
557
Assert.Equal(Scheduler.
InProcNodeId
, response[0].NodeId);