14 references to Ready
Microsoft.Build (14)
BackEnd\Components\Scheduler\SchedulableRequest.cs (9)
145_timeRecords[SchedulableRequestState.Ready] = new ScheduleTimeRecord(); 326ChangeToState(SchedulableRequestState.Ready); 353blockingRequest.VerifyOneOfStates([SchedulableRequestState.Yielding, SchedulableRequestState.Blocked, SchedulableRequestState.Ready, SchedulableRequestState.Unscheduled]); 403VerifyOneOfStates([SchedulableRequestState.Ready, SchedulableRequestState.Unscheduled]); 404ErrorUtilities.VerifyThrow((_state == SchedulableRequestState.Ready) || !_schedulingData.IsRequestScheduled(this), "Another instance of request {0} is already scheduled.", _request.GlobalRequestId); 419VerifyOneOfStates([SchedulableRequestState.Ready, SchedulableRequestState.Executing, SchedulableRequestState.Unscheduled]); 420ErrorUtilities.VerifyThrow(_state != SchedulableRequestState.Ready || result.CircularDependency, "Request can only be Completed from the Ready state if the result indicates a circular dependency occurred."); 622ChangeToState(SchedulableRequestState.Ready); 656ChangeToState(SchedulableRequestState.Ready);
BackEnd\Components\Scheduler\Scheduler.cs (2)
1630blockingRequest.VerifyOneOfStates([SchedulableRequestState.Yielding, SchedulableRequestState.Ready, SchedulableRequestState.Blocked]); 2533String.Format(CultureInfo.InvariantCulture, "{0:0.000}", request.GetTimeSpentInState(SchedulableRequestState.Executing).TotalSeconds + request.GetTimeSpentInState(SchedulableRequestState.Blocked).TotalSeconds + request.GetTimeSpentInState(SchedulableRequestState.Ready).TotalSeconds),
BackEnd\Components\Scheduler\SchedulingData.cs (3)
325case SchedulableRequestState.Ready: 404case SchedulableRequestState.Ready: 494ExpectScheduledRequestState(globalRequestId, SchedulableRequestState.Ready);