1 write to State
Microsoft.Build (1)
BackEnd\Components\BuildRequestEngine\BuildRequestEntry.cs (1)
554State = newState;
26 references to State
Microsoft.Build (26)
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) 816Assumed.Unreachable($"Unexpected BuildRequestEntry state {currentEntry.State}"); 1344if (issuingEntry.State == BuildRequestEntryState.Ready)
BackEnd\Components\BuildRequestEngine\BuildRequestEntry.cs (14)
226Assumed.Equal(State, BuildRequestEntryState.Active, $"Must be in Active state to wait for blocking request. Config: {RequestConfiguration.ConfigurationId} State: {State}"); 317Assumed.True(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: {RequestConfiguration.ConfigurationId} State: {State} Requests: {_outstandingRequests != null}"); 395Assumed.Equal(State, BuildRequestEntryState.Waiting, $"Entry must be in the waiting state to be unblocked. Config: {RequestConfiguration.ConfigurationId} State: {State} Request: {Request.GlobalRequestId}"); 415Assumed.Equal(State, BuildRequestEntryState.Ready, $"Entry must be in the Ready state. Config: {RequestConfiguration.ConfigurationId} State: {State}"); 433if (State == BuildRequestEntryState.Waiting) 492Assumed.Equal(State, BuildRequestEntryState.Active, $"Entry must be active before it can be Completed successfully. Config: {RequestConfiguration.ConfigurationId} State: {State}"); 513Assumed.True(State is BuildRequestEntryState.Active or BuildRequestEntryState.Waiting, $"Must be in Active or Waiting state to wait for results. Config: {RequestConfiguration.ConfigurationId} State: {State}"); 552if (State != newState)
BackEnd\Components\RequestBuilder\RequestBuilder.cs (6)
750Assumed.Equal(_requestEntry.State, BuildRequestEntryState.Ready, $"Entry is not in the Ready state, it is in the {_requestEntry.State} state."); 758Assumed.Equal(_requestEntry.State, BuildRequestEntryState.Active, $"Entry is not in the Active state, it is in the {_requestEntry.State} state."); 766Assumed.True(_requestEntry.State is BuildRequestEntryState.Active or BuildRequestEntryState.Waiting, $"Entry is not in the Active or Waiting state, it is in the {_requestEntry.State} state.");