2 instantiations of TaskHost
Microsoft.Build (1)
BackEnd\Components\RequestBuilder\TaskBuilder.cs (1)
307taskHost = new TaskHost(_componentHost, _buildRequestEntry, _targetChildInstance.Location, _targetBuilderCallback);
Microsoft.Build.Engine.UnitTests (1)
BackEnd\TaskHost_Tests.cs (1)
87_taskHost = new TaskHost(_mockHost, entry, _elementLocation, null /*Don't care about the callback either unless doing a build*/);
14 references to TaskHost
Microsoft.Build (13)
BackEnd\Components\RequestBuilder\IntrinsicTasks\MSBuild.cs (2)
660var taskHost = (TaskHost)buildEngine;
BackEnd\Components\RequestBuilder\TargetBuilder.cs (2)
372/// <remarks>This method is called from the <see cref="TaskHost"/>.</remarks> 381/// <remarks>This method is called from the <see cref="TaskHost"/>.</remarks>
BackEnd\Components\RequestBuilder\TaskBuilder.cs (7)
299TaskHost taskHost = null; 369private async Task<WorkUnitResult> ExecuteBucket(TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask, Dictionary<string, string> lookupHash) 554private WorkUnitResult ExecuteTaskInSTAThread(ItemBucket bucket, TaskLoggingContext taskLoggingContext, IDictionary<string, string> taskIdentityParameters, TaskHost taskHost, TaskExecutionMode howToExecuteTask) 648private async Task<WorkUnitResult> InitializeAndExecuteTask(TaskLoggingContext taskLoggingContext, ItemBucket bucket, IDictionary<string, string> taskIdentityParameters, TaskHost taskHost, TaskExecutionMode howToExecuteTask) 685private void UpdateContinueOnError(ItemBucket bucket, TaskHost taskHost) 737private async Task<WorkUnitResult> ExecuteInstantiatedTask(TaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask) 950&& (be is TaskHost th ? th.BuildRequestsSucceeded : false)
BackEnd\Components\RequestBuilder\TaskHost.cs (2)
917private readonly TaskHost _taskHost; 919internal EngineServicesImpl(TaskHost taskHost)
Microsoft.Build.Engine.UnitTests (1)
BackEnd\TaskHost_Tests.cs (1)
32private TaskHost _taskHost;