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