28 references to InvalidGlobalRequestId
Microsoft.Build (26)
BackEnd\BuildManager\CacheAggregator.cs (2)
95BuildRequest.InvalidGlobalRequestId, 96BuildRequest.InvalidGlobalRequestId,
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (2)
1059else if (unsubmittedRequest.BlockingGlobalRequestId == BuildRequest.InvalidGlobalRequestId) 1475BlockingGlobalRequestId = BuildRequest.InvalidGlobalRequestId;
BackEnd\Components\BuildRequestEngine\BuildRequestEntry.cs (5)
132_blockingGlobalRequestId = BuildRequest.InvalidGlobalRequestId; 331_blockingGlobalRequestId = BuildRequest.InvalidGlobalRequestId; 371if (_outstandingRequests == null && _unresolvedConfigurations == null && _blockingGlobalRequestId == BuildRequest.InvalidGlobalRequestId) 386ErrorUtilities.VerifyThrow(_blockingGlobalRequestId != BuildRequest.InvalidGlobalRequestId, "Entry must be waiting on another request to be unblocked. Config: {0} Request: {1}", RequestConfiguration.ConfigurationId, Request.GlobalRequestId); 388_blockingGlobalRequestId = BuildRequest.InvalidGlobalRequestId;
BackEnd\Components\RequestBuilder\RequestBuilder.cs (1)
1197await BlockOnTargetInProgress(Microsoft.Build.BackEnd.BuildRequest.InvalidGlobalRequestId, null);
BackEnd\Components\RequestBuilder\TargetBuilder.cs (2)
680int idOfAlreadyBuildingRequest = BuildRequest.InvalidGlobalRequestId; 764int idOfAlreadyBuildingRequest = BuildRequest.InvalidGlobalRequestId;
BackEnd\Components\Scheduler\Scheduler.cs (6)
310if (blocker.BlockedRequestId != BuildRequest.InvalidGlobalRequestId) 332else if ((blocker.BlockingRequestId == blocker.BlockedRequestId) && blocker.BlockingRequestId != BuildRequest.InvalidGlobalRequestId) 338else if (blocker.BlockingRequestId != BuildRequest.InvalidGlobalRequestId) 1690if (request.GlobalRequestId == BuildRequest.InvalidGlobalRequestId) 2258if (request.GlobalRequestId == BuildRequest.InvalidGlobalRequestId && _schedulingData.GetRequestsAssignedToConfigurationCount(request.ConfigurationId) > 0) 2320int invalidWorkId = useConfigurations ? BuildRequestConfiguration.InvalidConfigurationId : BuildRequest.InvalidGlobalRequestId;
BackEnd\Shared\BuildRequest.cs (5)
117_globalRequestId = InvalidGlobalRequestId; 155_parentGlobalRequestId = InvalidGlobalRequestId; 198_parentGlobalRequestId = parentRequest?.GlobalRequestId ?? InvalidGlobalRequestId; 264ErrorUtilities.VerifyThrow(_globalRequestId == InvalidGlobalRequestId, "Global Request ID cannot be set twice."); 396{ return _parentGlobalRequestId == InvalidGlobalRequestId; }
BackEnd\Shared\BuildRequestBlocker.cs (1)
128_blockingGlobalRequestId = BuildRequest.InvalidGlobalRequestId;
BackEnd\Shared\BuildRequestUnblocker.cs (2)
26private int _blockedGlobalRequestId = BuildRequest.InvalidGlobalRequestId; 46ErrorUtilities.VerifyThrowArgumentOutOfRange(globalRequestIdToResume != BuildRequest.InvalidGlobalRequestId, nameof(globalRequestIdToResume));
Microsoft.Build.Engine.UnitTests (2)
BackEnd\CacheAggregator_Tests.cs (2)
280aggregatedBuildResult.ParentGlobalRequestId.ShouldBe(BuildRequest.InvalidGlobalRequestId); 281aggregatedBuildResult.GlobalRequestId.ShouldBe(BuildRequest.InvalidGlobalRequestId);