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