2 writes to _taskExecutionHost
Microsoft.Build (2)
BackEnd\Components\RequestBuilder\TaskBuilder.cs (2)
201
_taskExecutionHost
= new TaskExecutionHost(host);
217
_taskExecutionHost
= null;
11 references to _taskExecutionHost
Microsoft.Build (11)
BackEnd\Components\RequestBuilder\TaskBuilder.cs (11)
211
ErrorUtilities.VerifyThrow(
_taskExecutionHost
!= null, "taskExecutionHost not initialized.");
214
IDisposable disposable =
_taskExecutionHost
as IDisposable;
308
_taskExecutionHost
.InitializeForTask(taskHost, _targetLoggingContext, _buildRequestEntry.RequestConfiguration.Project, _taskNode.Name, _taskNode.Location, _taskHostObject, _continueOnError != ContinueOnError.ErrorAndStop,
346
_taskExecutionHost
.CleanupForTask();
424
(TaskRequirements? requirements, TaskFactoryWrapper taskFactoryWrapper) =
_taskExecutionHost
.FindTask(taskIdentityParameters);
640
_taskExecutionHost
.LogTaskInputs);
650
if (!
_taskExecutionHost
.InitializeForBatch(taskLoggingContext, bucket, taskIdentityParameters))
655
using var assemblyLoadsTracker = AssemblyLoadsTracker.StartTracking(taskLoggingContext, AssemblyLoadingContext.TaskRun,
_taskExecutionHost
?.TaskInstance?.GetType());
661
WorkUnitResult executionResult = await ExecuteInstantiatedTask(
_taskExecutionHost
, taskLoggingContext, taskHost, bucket, howToExecuteTask);
669
_taskExecutionHost
.CleanupForBatch();
1038
declaredProjects.Add(FileUtilities.NormalizePath(
_taskExecutionHost
.ProjectInstance.FullPath));