14 references to Ready
Microsoft.Build (14)
BackEnd\Components\Scheduler\SchedulableRequest.cs (9)
145
_timeRecords[SchedulableRequestState.
Ready
] = new ScheduleTimeRecord();
326
ChangeToState(SchedulableRequestState.
Ready
);
353
blockingRequest.VerifyOneOfStates([SchedulableRequestState.Yielding, SchedulableRequestState.Blocked, SchedulableRequestState.
Ready
, SchedulableRequestState.Unscheduled]);
403
VerifyOneOfStates([SchedulableRequestState.
Ready
, SchedulableRequestState.Unscheduled]);
404
ErrorUtilities.VerifyThrow((_state == SchedulableRequestState.
Ready
) || !_schedulingData.IsRequestScheduled(this), "Another instance of request {0} is already scheduled.", _request.GlobalRequestId);
419
VerifyOneOfStates([SchedulableRequestState.
Ready
, SchedulableRequestState.Executing, SchedulableRequestState.Unscheduled]);
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.");
622
ChangeToState(SchedulableRequestState.
Ready
);
656
ChangeToState(SchedulableRequestState.
Ready
);
BackEnd\Components\Scheduler\Scheduler.cs (2)
1630
blockingRequest.VerifyOneOfStates([SchedulableRequestState.Yielding, SchedulableRequestState.
Ready
, SchedulableRequestState.Blocked]);
2533
String.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)
325
case SchedulableRequestState.
Ready
:
404
case SchedulableRequestState.
Ready
:
494
ExpectScheduledRequestState(globalRequestId, SchedulableRequestState.
Ready
);