5 writes to State
MSBuild (5)
OutOfProcTaskHostNode.cs (4)
1099context.State = TaskExecutionState.BlockedOnCallback; 1122context.State = TaskExecutionState.Executing; 1251context.State = TaskExecutionState.Executing; 1832taskContext.State = TaskExecutionState.Completed;
TaskExecutionContext.cs (1)
106State = TaskExecutionState.Pending;
2 references to State
MSBuild (2)
OutOfProcTaskHostNode.cs (2)
1345if (context.State == TaskExecutionState.Completed || ctxWrapper is null || ctxWrapper.CancelPending) 1769Assumed.True(taskContext is null || taskContext.State != TaskExecutionState.BlockedOnCallback, "Task completed while still in BlockedOnCallback state.");