40 references to State
Microsoft.Build (3)
BackEnd\Components\RequestBuilder\TargetBuilder.cs (3)
412switch (currentTargetEntry.State) 537ErrorUtilities.ThrowInternalError("Unexpected target state {0}", currentTargetEntry.State); 631if (topEntry.ParentEntry != null && topEntry.ParentEntry.State != TargetEntryState.Completed)
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);