1 write to _taskLoggingContext
Microsoft.Build (1)
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (1)
309_taskLoggingContext = loggingContext;
35 references to _taskLoggingContext
Microsoft.Build (35)
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (35)
364_taskLoggingContext.LogComment(MessageImportance.Normal, "TaskAssemblyLocationMismatch", realTaskAssemblyLocation, _taskFactoryWrapper.TaskFactoryLoadedType.Path); 407_taskLoggingContext.LogError(new BuildEventFileInfo(_taskLocation), "TaskParametersError", _taskName, e.Message); 690_taskLoggingContext.LogFatalTaskError(e, new BuildEventFileInfo(_taskLocation), ((ProjectTaskInstance)_taskLoggingContext.Task).Name); 695catch (InternalErrorException) when (!_taskLoggingContext.IsValid) 973task = assemblyTaskFactory.CreateTaskInstance(_taskLocation, _taskLoggingContext, _buildComponentHost, taskIdentityParameters, 983TaskFactoryEngineContext taskFactoryEngineContext = new TaskFactoryEngineContext(_buildEngine.IsRunningMultipleNodes, _taskLocation, _taskLoggingContext, _buildComponentHost?.BuildParameters?.MultiThreaded ?? false, Traits.Instance.ForceTaskFactoryOutOfProc); 998_taskLoggingContext.LogError( 1018_taskLoggingContext?.TargetLoggingContext?.ProjectLoggingContext?.ProjectTelemetry?.AddTaskExecution(_taskFactoryWrapper.TaskFactory.GetType().FullName, isTaskHost); 1030_taskLoggingContext.LogError( 1041_taskLoggingContext.LogError( 1051_taskLoggingContext.LogError( 1139_taskLoggingContext.LogError( 1150_taskLoggingContext.LogError( 1161_taskLoggingContext.LogError( 1172_taskLoggingContext.LogError( 1366if (LogTaskInputs && !_taskLoggingContext.LoggingService.OnlyLogCriticalEvents) 1374_taskLoggingContext.LogCommentFromText( 1389_taskLoggingContext, 1414_taskLoggingContext.LogFatalTaskError( 1423_taskLoggingContext.LogFatalTaskError( 1525if (hasElements && LogTaskInputs && !_taskLoggingContext.LoggingService.OnlyLogCriticalEvents && parameter.Log) 1528_taskLoggingContext, 1571if (LogTaskInputs && !_taskLoggingContext.LoggingService.OnlyLogCriticalEvents) 1578_taskLoggingContext, 1588_taskLoggingContext.LogComment(MessageImportance.Low, "OutputPropertyLogMessage", outputTargetName, outputString); 1619if (LogTaskInputs && !_taskLoggingContext.LoggingService.OnlyLogCriticalEvents && outputs.Length > 0 && parameter.Log) 1622_taskLoggingContext, 1658if (LogTaskInputs && !_taskLoggingContext.LoggingService.OnlyLogCriticalEvents) 1665_taskLoggingContext, 1675_taskLoggingContext.LogComment(MessageImportance.Low, "OutputPropertyLogMessage", outputTargetName, outputString); 1685_taskLoggingContext); 1726_taskLoggingContext.LogWarningFromText(null, warningCode, helpKeyword, new BuildEventFileInfo(_taskLocation), message); 1728catch (InternalErrorException) when (!_taskLoggingContext.IsValid) 1801_taskLoggingContext,