5 references to TargetLoggingContext
Microsoft.Build (5)
BackEnd\Components\RequestBuilder\TaskBuilder.cs (1)
904ProjectErrorUtilities.ThrowInvalidProject(taskLoggingContext.Task.Location, "CircularDependency", taskLoggingContext.TargetLoggingContext.Target.Name);
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (1)
1054_taskLoggingContext?.TargetLoggingContext?.ProjectLoggingContext?.ProjectTelemetry?.AddTaskExecution(_taskFactoryWrapper.TaskFactory.GetType().FullName, isTaskHost);
Instance\TaskFactories\AssemblyTaskFactory.cs (2)
351taskLoggingContext?.TargetLoggingContext?.ProjectLoggingContext?.ProjectTelemetry?.AddTaskExecution(GetType().FullName, isTaskHost: useTaskFactory); 420taskLoggingContext?.TargetLoggingContext?.ProjectLoggingContext?.ProjectTelemetry?.TrackTaskSubclassing(_loadedType.Type, isMicrosoftOwned);
Instance\TaskFactories\TaskHostTask.cs (1)
343_taskLoggingContext?.TargetLoggingContext?.Target?.Name,