17 references to InProcNodeId
Microsoft.Build (12)
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (1)
361
if (_componentHost.BuildParameters.NodeId != Scheduler.
InProcNodeId
)
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (2)
441
int nodeId = Scheduler.
InProcNodeId
;
550
if (nodeBuildEventContext.NodeId == Scheduler.
InProcNodeId
)
BackEnd\Components\ProjectCache\ProjectCacheService.cs (1)
488
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)
870
projectCacheBuildEventContext.NodeId.ShouldBe(Scheduler.
InProcNodeId
);
873
BuildEventContext nodeBuildEventContext = new BuildEventContext(Scheduler.
InProcNodeId
, BuildEventContext.InvalidTargetId, BuildEventContext.InvalidProjectContextId, BuildEventContext.InvalidTaskId);
908
BuildEventContext nodeBuildEventContext = new BuildEventContext(Scheduler.
InProcNodeId
, BuildEventContext.InvalidTargetId, BuildEventContext.InvalidProjectContextId, BuildEventContext.InvalidTaskId);
939
NodeId.ShouldNotBe(Scheduler.
InProcNodeId
);
BackEnd\Scheduler_Tests.cs (1)
557
Assert.Equal(Scheduler.
InProcNodeId
, response[0].NodeId);