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)
156get { return _state; } 404ErrorUtilities.VerifyThrow((_state == SchedulableRequestState.Ready) || !_schedulingData.IsRequestScheduled(this), "Another instance of request {0} is already scheduled.", _request.GlobalRequestId); 420ErrorUtilities.VerifyThrow(_state != SchedulableRequestState.Ready || result.CircularDependency, "Request can only be Completed from the Ready state if the result indicates a circular dependency occurred."); 449ErrorUtilities.VerifyThrow(_state == requiredState, "Request {0} expected to be in state {1} but state is actually {2}", _request.GlobalRequestId, requiredState, _state); 459if (_state == requiredState) 465ErrorUtilities.ThrowInternalError("State {0} is not one of the expected states.", _state); 476_timeRecords[_state].EndState(currentTime); 478if (_state != newState) 480SchedulableRequestState previousState = _state;