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