2 writes to _taskExecutionHost
Microsoft.Build (2)
BackEnd\Components\RequestBuilder\TaskBuilder.cs (2)
212_taskExecutionHost = new TaskExecutionHost(host); 228_taskExecutionHost = null;
11 references to _taskExecutionHost
Microsoft.Build (11)
BackEnd\Components\RequestBuilder\TaskBuilder.cs (11)
222Assumed.NotNull(_taskExecutionHost, "taskExecutionHost not initialized."); 225IDisposable disposable = _taskExecutionHost as IDisposable; 319_taskExecutionHost.InitializeForTask( 368_taskExecutionHost.CleanupForTask(); 446(TaskRequirements? requirements, TaskFactoryWrapper taskFactoryWrapper) = _taskExecutionHost.FindTask(taskIdentityParameters); 665_taskExecutionHost.LogTaskInputs); 675if (!_taskExecutionHost.InitializeForBatch(taskLoggingContext, bucket, taskIdentityParameters, _buildRequestEntry.Request.ScheduledNodeId)) 680using var assemblyLoadsTracker = AssemblyLoadsTracker.StartTracking(taskLoggingContext, AssemblyLoadingContext.TaskRun, _taskExecutionHost?.TaskInstance?.GetType()); 686return await ExecuteInstantiatedTask(_taskExecutionHost, taskLoggingContext, taskHost, bucket, howToExecuteTask); 690_taskExecutionHost.CleanupForBatch(); 1073declaredProjects.Add(FileUtilities.NormalizePath(_taskExecutionHost.ProjectInstance.FullPath));