4 instantiations of TaskLoggingContext
Microsoft.Build (1)
BackEnd\Components\Logging\TargetLoggingContext.cs (1)
115return new TaskLoggingContext(this, projectFullPath, task, taskAssemblyLocation);
Microsoft.Build.Engine.UnitTests (3)
BackEnd\TaskExecutionHost_Tests.cs (2)
1001_host.InitializeForBatch(new TaskLoggingContext(_loggingService, tlc.BuildEventContext), _bucket, null); 1030_host.InitializeForBatch(new TaskLoggingContext(_loggingService, tlc.BuildEventContext), _bucket, null);
BackEnd\TaskHost_Tests.cs (1)
88_taskHost.LoggingContext = new TaskLoggingContext(_loggingService, BuildEventContext.Invalid);
17 references to TaskLoggingContext
Microsoft.Build (16)
BackEnd\Components\Logging\TargetLoggingContext.cs (1)
111internal TaskLoggingContext LogTaskBatchStarted(string projectFullPath, ProjectTargetInstanceChild task, string taskAssemblyLocation)
BackEnd\Components\RequestBuilder\TaskBuilder.cs (5)
29using TaskLoggingContext = Microsoft.Build.BackEnd.Logging.TaskLoggingContext; 429TaskLoggingContext taskLoggingContext = _targetLoggingContext.LogTaskBatchStarted(_projectFullPath, _targetChildInstance, taskAssemblyLocation); 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) 737private async Task<WorkUnitResult> ExecuteInstantiatedTask(TaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask)
BackEnd\Components\RequestBuilder\TaskHost.cs (3)
26using TaskLoggingContext = Microsoft.Build.BackEnd.Logging.TaskLoggingContext; 65private TaskLoggingContext _taskLoggingContext; 211internal TaskLoggingContext LoggingContext
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (2)
98private TaskLoggingContext _taskLoggingContext; 300public bool InitializeForBatch(TaskLoggingContext loggingContext, ItemBucket batchBucket, IDictionary<string, string> taskIdentityParameters)
Instance\TaskFactories\AssemblyTaskFactory.cs (3)
17using TaskLoggingContext = Microsoft.Build.BackEnd.Logging.TaskLoggingContext; 69private TaskLoggingContext _taskLoggingContext; 316internal ITask CreateTaskInstance(ElementLocation taskLocation, TaskLoggingContext taskLoggingContext, IBuildComponentHost buildComponentHost, IDictionary<string, string> taskIdentityParameters,
Instance\TaskFactories\TaskHostTask.cs (2)
43private TaskLoggingContext _taskLoggingContext; 132TaskLoggingContext taskLoggingContext,
Microsoft.Build.Engine.UnitTests (1)
BackEnd\TaskExecutionHost_Tests.cs (1)
1269TaskLoggingContext talc = tlc.LogTaskBatchStarted(".", taskInstance, typeof(TaskBuilderTestTask.TaskBuilderTestTaskFactory).Assembly.GetName().FullName);