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)
211ErrorUtilities.VerifyThrow(_taskExecutionHost != null, "taskExecutionHost not initialized."); 214IDisposable 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); 650if (!_taskExecutionHost.InitializeForBatch(taskLoggingContext, bucket, taskIdentityParameters)) 655using var assemblyLoadsTracker = AssemblyLoadsTracker.StartTracking(taskLoggingContext, AssemblyLoadingContext.TaskRun, _taskExecutionHost?.TaskInstance?.GetType()); 661WorkUnitResult executionResult = await ExecuteInstantiatedTask(_taskExecutionHost, taskLoggingContext, taskHost, bucket, howToExecuteTask); 669_taskExecutionHost.CleanupForBatch(); 1038declaredProjects.Add(FileUtilities.NormalizePath(_taskExecutionHost.ProjectInstance.FullPath));