1 write to _state
Microsoft.Build (1)
BackEnd\Components\Scheduler\SchedulableRequest.cs (1)
481
_state
= newState;
10 references to _state
Microsoft.Build (10)
BackEnd\Components\Scheduler\SchedulableRequest.cs (10)
156
get { return
_state
; }
404
ErrorUtilities.VerifyThrow((
_state
== SchedulableRequestState.Ready) || !_schedulingData.IsRequestScheduled(this), $"Another instance of request {_request.GlobalRequestId} is already scheduled.");
420
ErrorUtilities.VerifyThrow(
_state
!= SchedulableRequestState.Ready || result.CircularDependency, "Request can only be Completed from the Ready state if the result indicates a circular dependency occurred.");
449
ErrorUtilities.VerifyThrow(
_state
== requiredState, $"Request {_request.GlobalRequestId} expected to be in state {requiredState} but state is actually {
_state
}");
459
if (
_state
== requiredState)
465
ErrorUtilities.ThrowInternalError($"State {
_state
} is not one of the expected states.");
476
_timeRecords[
_state
].EndState(currentTime);
478
if (
_state
!= newState)
480
SchedulableRequestState previousState =
_state
;