59 references to TargetEntryState
Microsoft.Build (22)
BackEnd\Components\RequestBuilder\TargetBuilder.cs (5)
414case TargetEntryState.Dependencies: 468case TargetEntryState.Execution: 492case TargetEntryState.ErrorExecution: 512case TargetEntryState.Completed: 631if (topEntry.ParentEntry != null && topEntry.ParentEntry.State != TargetEntryState.Completed)
BackEnd\Components\RequestBuilder\TargetEntry.cs (17)
99private TargetEntryState _state; 190_state = TargetEntryState.Dependencies; 238internal TargetEntryState State 340VerifyState(_state, TargetEntryState.Dependencies); 373_state = TargetEntryState.Completed; 412_state = TargetEntryState.Execution; 424VerifyState(_state, TargetEntryState.Execution); 679_state = TargetEntryState.ErrorExecution; 683_state = TargetEntryState.Completed; 699VerifyState(_state, TargetEntryState.ErrorExecution); 735_state = TargetEntryState.Completed; 746VerifyState(_state, TargetEntryState.Completed); 772ErrorUtilities.VerifyThrow(_state != TargetEntryState.Completed, "State must not be Completed. State is {0}.", _state); 773_state = TargetEntryState.ErrorExecution; 783ErrorUtilities.VerifyThrow(_state == TargetEntryState.Completed, "State must be Completed. State is {0}.", _state); 897private void VerifyState(TargetEntryState actual, TargetEntryState expected)
Microsoft.Build.Engine.UnitTests (37)
BackEnd\TargetEntry_Tests.cs (37)
127Assert.Equal(TargetEntryState.Dependencies, entry.State); 140Assert.Equal(TargetEntryState.Dependencies, entry.State); 154Assert.Equal(TargetEntryState.Dependencies, entry.State); 171Assert.Equal(TargetEntryState.Dependencies, entry.State); 173Assert.Equal(TargetEntryState.Execution, entry.State); 177Assert.Equal(TargetEntryState.Dependencies, entry.State); 179Assert.Equal(TargetEntryState.Execution, entry.State); 186Assert.Equal(TargetEntryState.Dependencies, entry.State); 188Assert.Equal(TargetEntryState.Execution, entry.State); 213Assert.Equal(TargetEntryState.Dependencies, entry.State); 215Assert.Equal(TargetEntryState.Execution, entry.State); 221Assert.Equal(TargetEntryState.Dependencies, entry.State); 223Assert.Equal(TargetEntryState.Execution, entry.State); 231Assert.Equal(TargetEntryState.Dependencies, entry.State); 233Assert.Equal(TargetEntryState.Execution, entry.State); 258Assert.Equal(TargetEntryState.Dependencies, entry.State); 260Assert.Equal(TargetEntryState.Execution, entry.State); 267Assert.Equal(TargetEntryState.Completed, entry.State); 271Assert.Equal(TargetEntryState.Dependencies, entry.State); 273Assert.Equal(TargetEntryState.Execution, entry.State); 279Assert.Equal(TargetEntryState.ErrorExecution, entry.State); 284Assert.Equal(TargetEntryState.Dependencies, entry.State); 286Assert.Equal(TargetEntryState.Execution, entry.State); 293Assert.Equal(TargetEntryState.ErrorExecution, entry.State); 298Assert.Equal(TargetEntryState.Dependencies, entry.State); 300Assert.Equal(TargetEntryState.Execution, entry.State); 306Assert.Equal(TargetEntryState.Completed, entry.State); 336Assert.Equal(TargetEntryState.Completed, entry.State); 361Assert.Equal(TargetEntryState.Completed, entry.State); 372Assert.Equal(TargetEntryState.Completed, entry.State); 396Assert.Equal(TargetEntryState.Completed, entry.State); 415Assert.Equal(TargetEntryState.Completed, entry.State); 424Assert.Equal(TargetEntryState.Completed, entry.State); 433Assert.Equal(TargetEntryState.Completed, entry.State); 440Assert.Equal(TargetEntryState.Dependencies, entry.State); 442Assert.Equal(TargetEntryState.Execution, entry.State); 445Assert.Equal(TargetEntryState.ErrorExecution, entry.State);