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 {0} is already scheduled.", _request.GlobalRequestId);
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 {0} expected to be in state {1} but state is actually {2}", _request.GlobalRequestId, requiredState,
_state
);
459
if (
_state
== requiredState)
465
ErrorUtilities.ThrowInternalError("State {0} is not one of the expected states.",
_state
);
476
_timeRecords[
_state
].EndState(currentTime);
478
if (
_state
!= newState)
480
SchedulableRequestState previousState =
_state
;