15 references to Active
Microsoft.Build (7)
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (1)
733
case BuildRequestEntryState.
Active
:
BackEnd\Components\BuildRequestEngine\BuildRequestEntry.cs (4)
217
ErrorUtilities.VerifyThrow(State == BuildRequestEntryState.
Active
, "Must be in Active state to wait for blocking request. Config: {0} State: {1}", RequestConfiguration.ConfigurationId, State);
410
ChangeState(BuildRequestEntryState.
Active
);
482
ErrorUtilities.VerifyThrow(State == BuildRequestEntryState.
Active
, "Entry must be active before it can be Completed successfully. Config: {0} State: {1}", RequestConfiguration.ConfigurationId, State);
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);
BackEnd\Components\RequestBuilder\RequestBuilder.cs (2)
754
ErrorUtilities.VerifyThrow(_requestEntry.State == BuildRequestEntryState.
Active
, "Entry is not in the Active state, it is in the {0} state.", _requestEntry.State);
762
ErrorUtilities.VerifyThrow(_requestEntry.State == BuildRequestEntryState.
Active
|| _requestEntry.State == BuildRequestEntryState.Waiting,
Microsoft.Build.Engine.UnitTests (8)
BackEnd\BuildRequestEntry_Tests.cs (8)
53
Assert.Equal(BuildRequestEntryState.
Active
, entry.State);
74
Assert.Equal(BuildRequestEntryState.
Active
, entry.State);
98
Assert.Equal(BuildRequestEntryState.
Active
, entry.State);
120
Assert.Equal(BuildRequestEntryState.
Active
, entry.State);
150
Assert.Equal(BuildRequestEntryState.
Active
, entry.State);
221
Assert.Equal(BuildRequestEntryState.
Active
, entry.State);
244
Assert.Equal(BuildRequestEntryState.
Active
, entry.State);
264
Assert.Equal(BuildRequestEntryState.
Active
, entry.State);