1 write to _taskLoggingContext
Microsoft.Build (1)
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (1)
335_taskLoggingContext = loggingContext;
35 references to _taskLoggingContext
Microsoft.Build (35)
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (35)
390_taskLoggingContext.LogComment(MessageImportance.Normal, "TaskAssemblyLocationMismatch", realTaskAssemblyLocation, _taskFactoryWrapper.TaskFactoryLoadedType.Path); 438_taskLoggingContext.LogError(new BuildEventFileInfo(_taskLocation), "TaskParametersError", _taskName, e.Message); 722_taskLoggingContext.LogFatalTaskError(e, new BuildEventFileInfo(_taskLocation), ((ProjectTaskInstance)_taskLoggingContext.Task).Name); 727catch (InternalErrorException) when (!_taskLoggingContext.IsValid) 995_taskLoggingContext, 1010TaskFactoryEngineContext taskFactoryEngineContext = new TaskFactoryEngineContext(_buildEngine.IsRunningMultipleNodes, _taskLocation, _taskLoggingContext, _buildComponentHost?.BuildParameters?.MultiThreaded ?? false, Traits.Instance.ForceTaskFactoryOutOfProc); 1025_taskLoggingContext.LogError( 1054_taskLoggingContext?.TargetLoggingContext?.ProjectLoggingContext?.ProjectTelemetry?.AddTaskExecution(_taskFactoryWrapper.TaskFactory.GetType().FullName, isTaskHost); 1066_taskLoggingContext.LogError( 1077_taskLoggingContext.LogError( 1087_taskLoggingContext.LogError( 1175_taskLoggingContext.LogError( 1186_taskLoggingContext.LogError( 1197_taskLoggingContext.LogError( 1208_taskLoggingContext.LogError( 1402if (LogTaskInputs && !_taskLoggingContext.LoggingService.OnlyLogCriticalEvents) 1410_taskLoggingContext.LogCommentFromText( 1425_taskLoggingContext, 1450_taskLoggingContext.LogFatalTaskError( 1459_taskLoggingContext.LogFatalTaskError( 1561if (hasElements && LogTaskInputs && !_taskLoggingContext.LoggingService.OnlyLogCriticalEvents && parameter.Log) 1564_taskLoggingContext, 1607if (LogTaskInputs && !_taskLoggingContext.LoggingService.OnlyLogCriticalEvents) 1614_taskLoggingContext, 1624_taskLoggingContext.LogComment(MessageImportance.Low, "OutputPropertyLogMessage", outputTargetName, outputString); 1655if (LogTaskInputs && !_taskLoggingContext.LoggingService.OnlyLogCriticalEvents && outputs.Length > 0 && parameter.Log) 1658_taskLoggingContext, 1694if (LogTaskInputs && !_taskLoggingContext.LoggingService.OnlyLogCriticalEvents) 1701_taskLoggingContext, 1711_taskLoggingContext.LogComment(MessageImportance.Low, "OutputPropertyLogMessage", outputTargetName, outputString); 1721_taskLoggingContext); 1762_taskLoggingContext.LogWarningFromText(null, warningCode, helpKeyword, new BuildEventFileInfo(_taskLocation), message); 1764catch (InternalErrorException) when (!_taskLoggingContext.IsValid) 1838_taskLoggingContext,