1 write to _taskLoggingContext
Microsoft.Build (1)
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (1)
456_taskLoggingContext = loggingContext;
32 references to _taskLoggingContext
Microsoft.Build (32)
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (32)
537_taskLoggingContext.LogComment(MessageImportance.Normal, "TaskAssemblyLocationMismatch", realTaskAssemblyLocation, _taskFactoryWrapper.TaskFactoryLoadedType.Path); 591_taskLoggingContext.LogError(_taskLocation, "TaskParametersError", _taskName, e.Message); 881_taskLoggingContext.LogFatalTaskError(e, _taskLocation, ((ProjectTaskInstance)_taskLoggingContext.Task).Name); 886catch (InternalErrorException) when (!_taskLoggingContext.IsValid) 1271_taskLoggingContext, 1286TaskFactoryEngineContext taskFactoryEngineContext = new TaskFactoryEngineContext(_buildEngine.IsRunningMultipleNodes, _taskLocation, _taskLoggingContext, _buildComponentHost?.BuildParameters?.MultiThreaded ?? false, Traits.Instance.ForceTaskFactoryOutOfProc); 1298_taskLoggingContext.LogError( 1333_taskLoggingContext?.TargetLoggingContext?.ProjectLoggingContext?.ProjectTelemetry?.AddTaskExecution(_taskFactoryWrapper.TaskFactory.GetType().FullName, isTaskHost); 1345_taskLoggingContext.LogError( 1356_taskLoggingContext.LogError( 1366_taskLoggingContext.LogError( 1487_taskLoggingContext.LogError( 1498_taskLoggingContext.LogError( 1509_taskLoggingContext.LogError( 1520_taskLoggingContext.LogError( 1839if (LogTaskInputs && !_taskLoggingContext.LoggingService.OnlyLogCriticalEvents) 1851_taskLoggingContext, 1876_taskLoggingContext.LogFatalTaskError( 1885_taskLoggingContext.LogFatalTaskError( 1907if (hasElements && LogTaskInputs && !_taskLoggingContext.LoggingService.OnlyLogCriticalEvents && parameter.Log) 1910_taskLoggingContext, 1953if (LogTaskInputs && !_taskLoggingContext.LoggingService.OnlyLogCriticalEvents) 1958_taskLoggingContext, 2096if (LogTaskInputs && !_taskLoggingContext.LoggingService.OnlyLogCriticalEvents && outputs.Length > 0 && parameter.Log) 2099_taskLoggingContext, 2135if (LogTaskInputs && !_taskLoggingContext.LoggingService.OnlyLogCriticalEvents) 2140_taskLoggingContext, 2155_taskLoggingContext); 2196_taskLoggingContext.LogWarningFromText(DiagnosticSubcategory.None, warningCode, helpKeyword, _taskLocation, message); 2198catch (InternalErrorException) when (!_taskLoggingContext.IsValid) 2271_taskLoggingContext,