2 instantiations of TaskHost
Microsoft.Build (1)
BackEnd\Components\RequestBuilder\TaskBuilder.cs (1)
307
taskHost = 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)
660
var
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)
299
TaskHost
taskHost = null;
369
private async Task<WorkUnitResult> ExecuteBucket(
TaskHost
taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask, Dictionary<string, string> lookupHash)
554
private WorkUnitResult ExecuteTaskInSTAThread(ItemBucket bucket, TaskLoggingContext taskLoggingContext, IDictionary<string, string> taskIdentityParameters,
TaskHost
taskHost, TaskExecutionMode howToExecuteTask)
648
private async Task<WorkUnitResult> InitializeAndExecuteTask(TaskLoggingContext taskLoggingContext, ItemBucket bucket, IDictionary<string, string> taskIdentityParameters,
TaskHost
taskHost, TaskExecutionMode howToExecuteTask)
685
private void UpdateContinueOnError(ItemBucket bucket,
TaskHost
taskHost)
737
private 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)
917
private readonly
TaskHost
_taskHost;
919
internal EngineServicesImpl(
TaskHost
taskHost)
Microsoft.Build.Engine.UnitTests (1)
BackEnd\TaskHost_Tests.cs (1)
32
private
TaskHost
_taskHost;