21 references to Waiting
Microsoft.Build (10)
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (3)
415if (entry.State == BuildRequestEntryState.Waiting) 528if (currentEntry.State == BuildRequestEntryState.Waiting) 746case BuildRequestEntryState.Waiting:
BackEnd\Components\BuildRequestEngine\BuildRequestEntry.cs (6)
221ChangeState(BuildRequestEntryState.Waiting); 307ErrorUtilities.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); 385ErrorUtilities.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); 423if (State == BuildRequestEntryState.Waiting) 500ErrorUtilities.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); 528ChangeState(BuildRequestEntryState.Waiting);
BackEnd\Components\RequestBuilder\RequestBuilder.cs (1)
762ErrorUtilities.VerifyThrow(_requestEntry.State == BuildRequestEntryState.Active || _requestEntry.State == BuildRequestEntryState.Waiting,
Microsoft.Build.Engine.UnitTests (11)
BackEnd\BuildRequestEntry_Tests.cs (11)
60Assert.Equal(BuildRequestEntryState.Waiting, entry.State); 124Assert.Equal(BuildRequestEntryState.Waiting, entry.State); 128Assert.Equal(BuildRequestEntryState.Waiting, entry.State); 133Assert.Equal(BuildRequestEntryState.Waiting, entry.State); 154Assert.Equal(BuildRequestEntryState.Waiting, entry.State); 158Assert.Equal(BuildRequestEntryState.Waiting, entry.State); 163Assert.Equal(BuildRequestEntryState.Waiting, entry.State); 168Assert.Equal(BuildRequestEntryState.Waiting, entry.State); 225Assert.Equal(BuildRequestEntryState.Waiting, entry.State); 268Assert.Equal(BuildRequestEntryState.Waiting, entry.State); 274Assert.Equal(BuildRequestEntryState.Waiting, entry.State);