4 instantiations of TaskExecutionHost
Microsoft.Build (1)
BackEnd\Components\RequestBuilder\TaskBuilder.cs (1)
216
_taskExecutionHost = new
TaskExecutionHost
(host);
Microsoft.Build.Engine.UnitTests (3)
BackEnd\TaskExecutionHost_Tests.cs (3)
981
using var host = new
TaskExecutionHost
();
1011
using var host = new
TaskExecutionHost
();
1242
_host = new
TaskExecutionHost
();
13 references to TaskExecutionHost
Microsoft.Build (7)
BackEnd\Components\RequestBuilder\TaskBuilder.cs (3)
119
private
TaskExecutionHost
_taskExecutionHost;
764
private async ValueTask<WorkUnitResult> ExecuteInstantiatedTask(
TaskExecutionHost
taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask)
1094
private bool GatherTaskOutputs(
TaskExecutionHost
taskExecutionHost, TaskExecutionMode howToExecuteTask, ItemBucket bucket)
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (4)
193
/// Initializes a new instance of the <see cref="
TaskExecutionHost
"/> class
202
/// Finalizes an instance of the <see cref="
TaskExecutionHost
"/> class.
967
Assembly taskExecutionHostAssembly = typeof(
TaskExecutionHost
).GetTypeInfo().Assembly;
973
Assembly taskExecutionHostAssembly = typeof(
TaskExecutionHost
).GetTypeInfo().Assembly;
Microsoft.Build.Engine.UnitTests (6)
BackEnd\TaskExecutionHost_Tests.cs (6)
50
private
TaskExecutionHost
_host;
968
Assert.NotNull((_host as
TaskExecutionHost
)._UNITTESTONLY_TaskFactoryWrapper);
970
Assert.Null((_host as
TaskExecutionHost
)._UNITTESTONLY_TaskFactoryWrapper);
981
using
var
host = new TaskExecutionHost();
1011
using
var
host = new TaskExecutionHost();
1258
(_host as
TaskExecutionHost
)._UNITTESTONLY_TaskFactoryWrapper = new TaskFactoryWrapper(taskFactory, loadedType, taskName, TaskHostParameters.Empty);