1 write to State
Microsoft.Build (1)
BackEnd\Components\BuildRequestEngine\BuildRequestEntry.cs (1)
556State = newState;
28 references to State
Microsoft.Build (28)
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (6)
464TraceEngine($"Request {entry.Request.GlobalRequestId}({entry.Request.ConfigurationId}) (nr {entry.Request.NodeRequestId}) is now proceeding from current state {entry.State}."); 471if (entry.State == BuildRequestEntryState.Waiting) 589if (currentEntry.State == BuildRequestEntryState.Waiting) 786switch (currentEntry.State) 816ErrorUtilities.ThrowInternalError("Unexpected BuildRequestEntry state " + currentEntry.State); 1344if (issuingEntry.State == BuildRequestEntryState.Ready)
BackEnd\Components\BuildRequestEngine\BuildRequestEntry.cs (15)
226ErrorUtilities.VerifyThrow(State == BuildRequestEntryState.Active, $"Must be in Active state to wait for blocking request. Config: {RequestConfiguration.ConfigurationId} State: {State}"); 318State == BuildRequestEntryState.Waiting || _outstandingRequests == null, 319$"Entry must be in the Waiting state to report results, or we must have flushed our requests due to an error. Config: {RequestConfiguration.ConfigurationId} State: {State} Requests: {_outstandingRequests != null}"); 397ErrorUtilities.VerifyThrow(State == BuildRequestEntryState.Waiting, $"Entry must be in the waiting state to be unblocked. Config: {RequestConfiguration.ConfigurationId} State: {State} Request: {Request.GlobalRequestId}"); 417ErrorUtilities.VerifyThrow(State == BuildRequestEntryState.Ready, $"Entry must be in the Ready state. Config: {RequestConfiguration.ConfigurationId} State: {State}"); 435if (State == BuildRequestEntryState.Waiting) 494ErrorUtilities.VerifyThrow(State == BuildRequestEntryState.Active, $"Entry must be active before it can be Completed successfully. Config: {RequestConfiguration.ConfigurationId} State: {State}"); 515ErrorUtilities.VerifyThrow(State == BuildRequestEntryState.Active || State == BuildRequestEntryState.Waiting, $"Must be in Active or Waiting state to wait for results. Config: {RequestConfiguration.ConfigurationId} State: {State}"); 554if (State != newState)
BackEnd\Components\RequestBuilder\RequestBuilder.cs (7)
750ErrorUtilities.VerifyThrow(_requestEntry.State == BuildRequestEntryState.Ready, $"Entry is not in the Ready state, it is in the {_requestEntry.State} state."); 758ErrorUtilities.VerifyThrow(_requestEntry.State == BuildRequestEntryState.Active, $"Entry is not in the Active state, it is in the {_requestEntry.State} state."); 766ErrorUtilities.VerifyThrow(_requestEntry.State == BuildRequestEntryState.Active || _requestEntry.State == BuildRequestEntryState.Waiting, 767$"Entry is not in the Active or Waiting state, it is in the {_requestEntry.State} state.");