1 write to _taskLoggingContext
Microsoft.Build (1)
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (1)
457_taskLoggingContext = loggingContext;
35 references to _taskLoggingContext
Microsoft.Build (35)
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (35)
535_taskLoggingContext.LogComment(MessageImportance.Normal, "TaskAssemblyLocationMismatch", realTaskAssemblyLocation, _taskFactoryWrapper.TaskFactoryLoadedType.Path); 594_taskLoggingContext.LogError(new BuildEventFileInfo(_taskLocation), "TaskParametersError", _taskName, e.Message); 881_taskLoggingContext.LogFatalTaskError(e, new BuildEventFileInfo(_taskLocation), ((ProjectTaskInstance)_taskLoggingContext.Task).Name); 886catch (InternalErrorException) when (!_taskLoggingContext.IsValid) 1278_taskLoggingContext, 1293TaskFactoryEngineContext taskFactoryEngineContext = new TaskFactoryEngineContext(_buildEngine.IsRunningMultipleNodes, _taskLocation, _taskLoggingContext, _buildComponentHost?.BuildParameters?.MultiThreaded ?? false, Traits.Instance.ForceTaskFactoryOutOfProc); 1308_taskLoggingContext.LogError( 1337_taskLoggingContext?.TargetLoggingContext?.ProjectLoggingContext?.ProjectTelemetry?.AddTaskExecution(_taskFactoryWrapper.TaskFactory.GetType().FullName, isTaskHost); 1349_taskLoggingContext.LogError( 1360_taskLoggingContext.LogError( 1370_taskLoggingContext.LogError( 1456_taskLoggingContext.LogError( 1467_taskLoggingContext.LogError( 1478_taskLoggingContext.LogError( 1489_taskLoggingContext.LogError( 1730if (LogTaskInputs && !_taskLoggingContext.LoggingService.OnlyLogCriticalEvents) 1738_taskLoggingContext.LogCommentFromText( 1753_taskLoggingContext, 1778_taskLoggingContext.LogFatalTaskError( 1787_taskLoggingContext.LogFatalTaskError( 1889if (hasElements && LogTaskInputs && !_taskLoggingContext.LoggingService.OnlyLogCriticalEvents && parameter.Log) 1892_taskLoggingContext, 1935if (LogTaskInputs && !_taskLoggingContext.LoggingService.OnlyLogCriticalEvents) 1942_taskLoggingContext, 1952_taskLoggingContext.LogComment(MessageImportance.Low, "OutputPropertyLogMessage", outputTargetName, outputString); 1983if (LogTaskInputs && !_taskLoggingContext.LoggingService.OnlyLogCriticalEvents && outputs.Length > 0 && parameter.Log) 1986_taskLoggingContext, 2022if (LogTaskInputs && !_taskLoggingContext.LoggingService.OnlyLogCriticalEvents) 2029_taskLoggingContext, 2039_taskLoggingContext.LogComment(MessageImportance.Low, "OutputPropertyLogMessage", outputTargetName, outputString); 2049_taskLoggingContext); 2090_taskLoggingContext.LogWarningFromText(null, warningCode, helpKeyword, new BuildEventFileInfo(_taskLocation), message); 2092catch (InternalErrorException) when (!_taskLoggingContext.IsValid) 2165_taskLoggingContext,