7 writes to _state
Microsoft.Build (7)
BackEnd\Components\RequestBuilder\TargetEntry.cs (7)
185
_state
= TargetEntryState.Dependencies;
368
_state
= TargetEntryState.Completed;
407
_state
= TargetEntryState.Execution;
674
_state
= TargetEntryState.ErrorExecution;
678
_state
= TargetEntryState.Completed;
730
_state
= TargetEntryState.Completed;
768
_state
= TargetEntryState.ErrorExecution;
11 references to _state
Microsoft.Build (11)
BackEnd\Components\RequestBuilder\TargetEntry.cs (11)
237
return
_state
;
335
VerifyState(
_state
, TargetEntryState.Dependencies);
419
VerifyState(
_state
, TargetEntryState.Execution);
694
VerifyState(
_state
, TargetEntryState.ErrorExecution);
741
VerifyState(
_state
, TargetEntryState.Completed);
767
ErrorUtilities.VerifyThrow(
_state
!= TargetEntryState.Completed, "State must not be Completed. State is {0}.",
_state
);
778
ErrorUtilities.VerifyThrow(
_state
== TargetEntryState.Completed, "State must be Completed. State is {0}.",
_state
);
779
ErrorUtilities.VerifyThrow(_targetResult.ResultCode == TargetResultCode.Skipped, "ResultCode must be Skipped. ResultCode is {0}.",
_state
);
780
ErrorUtilities.VerifyThrow(_targetResult.WorkUnitResult.ActionCode == WorkUnitActionCode.Continue, "ActionCode must be Continue. ActionCode is {0}.",
_state
);