21 references to Waiting
Microsoft.Build (10)
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (3)
415
if (entry.State == BuildRequestEntryState.
Waiting
)
528
if (currentEntry.State == BuildRequestEntryState.
Waiting
)
746
case BuildRequestEntryState.
Waiting
:
BackEnd\Components\BuildRequestEngine\BuildRequestEntry.cs (6)
221
ChangeState(BuildRequestEntryState.
Waiting
);
307
ErrorUtilities.VerifyThrow(State == BuildRequestEntryState.
Waiting
|| _outstandingRequests == null, "Entry must be in the Waiting state to report results, or we must have flushed our requests due to an error. Config: {0} State: {1} Requests: {2}", RequestConfiguration.ConfigurationId, State, _outstandingRequests != null);
385
ErrorUtilities.VerifyThrow(State == BuildRequestEntryState.
Waiting
, "Entry must be in the waiting state to be unblocked. Config: {0} State: {1} Request: {2}", RequestConfiguration.ConfigurationId, State, Request.GlobalRequestId);
423
if (State == BuildRequestEntryState.
Waiting
)
500
ErrorUtilities.VerifyThrow(State == BuildRequestEntryState.Active || State == BuildRequestEntryState.
Waiting
, "Must be in Active or Waiting state to wait for results. Config: {0} State: {1}", RequestConfiguration.ConfigurationId, State);
528
ChangeState(BuildRequestEntryState.
Waiting
);
BackEnd\Components\RequestBuilder\RequestBuilder.cs (1)
762
ErrorUtilities.VerifyThrow(_requestEntry.State == BuildRequestEntryState.Active || _requestEntry.State == BuildRequestEntryState.
Waiting
,
Microsoft.Build.Engine.UnitTests (11)
BackEnd\BuildRequestEntry_Tests.cs (11)
60
Assert.Equal(BuildRequestEntryState.
Waiting
, entry.State);
124
Assert.Equal(BuildRequestEntryState.
Waiting
, entry.State);
128
Assert.Equal(BuildRequestEntryState.
Waiting
, entry.State);
133
Assert.Equal(BuildRequestEntryState.
Waiting
, entry.State);
154
Assert.Equal(BuildRequestEntryState.
Waiting
, entry.State);
158
Assert.Equal(BuildRequestEntryState.
Waiting
, entry.State);
163
Assert.Equal(BuildRequestEntryState.
Waiting
, entry.State);
168
Assert.Equal(BuildRequestEntryState.
Waiting
, entry.State);
225
Assert.Equal(BuildRequestEntryState.
Waiting
, entry.State);
268
Assert.Equal(BuildRequestEntryState.
Waiting
, entry.State);
274
Assert.Equal(BuildRequestEntryState.
Waiting
, entry.State);