28 references to InvalidGlobalRequestId
Microsoft.Build (26)
BackEnd\BuildManager\CacheAggregator.cs (2)
95
BuildRequest.
InvalidGlobalRequestId
,
96
BuildRequest.
InvalidGlobalRequestId
,
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (2)
1059
else if (unsubmittedRequest.BlockingGlobalRequestId == BuildRequest.
InvalidGlobalRequestId
)
1475
BlockingGlobalRequestId = BuildRequest.
InvalidGlobalRequestId
;
BackEnd\Components\BuildRequestEngine\BuildRequestEntry.cs (5)
132
_blockingGlobalRequestId = BuildRequest.
InvalidGlobalRequestId
;
331
_blockingGlobalRequestId = BuildRequest.
InvalidGlobalRequestId
;
371
if (_outstandingRequests == null && _unresolvedConfigurations == null && _blockingGlobalRequestId == BuildRequest.
InvalidGlobalRequestId
)
386
ErrorUtilities.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)
1197
await BlockOnTargetInProgress(Microsoft.Build.BackEnd.BuildRequest.
InvalidGlobalRequestId
, null);
BackEnd\Components\RequestBuilder\TargetBuilder.cs (2)
680
int idOfAlreadyBuildingRequest = BuildRequest.
InvalidGlobalRequestId
;
764
int idOfAlreadyBuildingRequest = BuildRequest.
InvalidGlobalRequestId
;
BackEnd\Components\Scheduler\Scheduler.cs (6)
310
if (blocker.BlockedRequestId != BuildRequest.
InvalidGlobalRequestId
)
332
else if ((blocker.BlockingRequestId == blocker.BlockedRequestId) && blocker.BlockingRequestId != BuildRequest.
InvalidGlobalRequestId
)
338
else if (blocker.BlockingRequestId != BuildRequest.
InvalidGlobalRequestId
)
1690
if (request.GlobalRequestId == BuildRequest.
InvalidGlobalRequestId
)
2258
if (request.GlobalRequestId == BuildRequest.
InvalidGlobalRequestId
&& _schedulingData.GetRequestsAssignedToConfigurationCount(request.ConfigurationId) > 0)
2320
int invalidWorkId = useConfigurations ? BuildRequestConfiguration.InvalidConfigurationId : BuildRequest.
InvalidGlobalRequestId
;
BackEnd\Shared\BuildRequest.cs (5)
117
_globalRequestId =
InvalidGlobalRequestId
;
155
_parentGlobalRequestId =
InvalidGlobalRequestId
;
198
_parentGlobalRequestId = parentRequest?.GlobalRequestId ??
InvalidGlobalRequestId
;
264
ErrorUtilities.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)
26
private int _blockedGlobalRequestId = BuildRequest.
InvalidGlobalRequestId
;
46
ErrorUtilities.VerifyThrowArgumentOutOfRange(globalRequestIdToResume != BuildRequest.
InvalidGlobalRequestId
, nameof(globalRequestIdToResume));
Microsoft.Build.Engine.UnitTests (2)
BackEnd\CacheAggregator_Tests.cs (2)
280
aggregatedBuildResult.ParentGlobalRequestId.ShouldBe(BuildRequest.
InvalidGlobalRequestId
);
281
aggregatedBuildResult.GlobalRequestId.ShouldBe(BuildRequest.
InvalidGlobalRequestId
);