2 writes to _taskLoggingContext
Microsoft.Build (2)
BackEnd\Components\RequestBuilder\TaskHost.cs (2)
221{ _taskLoggingContext = value; } 1094_taskLoggingContext = null;
35 references to _taskLoggingContext
Microsoft.Build (35)
BackEnd\Components\RequestBuilder\TaskHost.cs (35)
217{ return _taskLoggingContext; } 363MSBuildEventSource.Log.ExecuteTaskYieldStart(_taskLoggingContext.TaskName, _taskLoggingContext.BuildEventContext.TaskId); 392MSBuildEventSource.Log.ExecuteTaskYieldStop(_taskLoggingContext.TaskName, _taskLoggingContext.BuildEventContext.TaskId); 393MSBuildEventSource.Log.ExecuteTaskReacquireStart(_taskLoggingContext.TaskName, _taskLoggingContext.BuildEventContext.TaskId); 395MSBuildEventSource.Log.ExecuteTaskReacquireStop(_taskLoggingContext.TaskName, _taskLoggingContext.BuildEventContext.TaskId); 458warningEvent.BuildEventContext = _taskLoggingContext.BuildEventContext; 459_taskLoggingContext.LoggingService.LogBuildEvent(warningEvent); 462_taskLoggingContext.LoggingService.LogComment(_taskLoggingContext.BuildEventContext, MessageImportance.Normal, "ErrorConvertedIntoWarning"); 466e.BuildEventContext = _taskLoggingContext.BuildEventContext; 467_taskLoggingContext.LoggingService.LogBuildEvent(e); 470_taskLoggingContext.HasLoggedErrors = true; 510e.BuildEventContext = _taskLoggingContext.BuildEventContext; 511_taskLoggingContext.LoggingService.LogBuildEvent(e); 551e.BuildEventContext = _taskLoggingContext.BuildEventContext; 552_taskLoggingContext.LoggingService.LogBuildEvent(e); 592e.BuildEventContext = _taskLoggingContext.BuildEventContext; 593_taskLoggingContext.LoggingService.LogBuildEvent(e); 675_taskLoggingContext.LoggingService.LogTelemetry(_taskLoggingContext.BuildEventContext, eventName, properties); 716if (_taskLoggingContext == null) 721return _warningsAsErrors ??= _taskLoggingContext.GetWarningsAsErrors(); 736if (_taskLoggingContext == null) 741return _warningsNotAsErrors ??= _taskLoggingContext.GetWarningsNotAsErrors(); 756if (_taskLoggingContext == null) 761return _warningsAsMessages ??= _taskLoggingContext.GetWarningsAsMessages(); 848LoggingContext.LogComment(MessageImportance.Low, "TaskAcquiredCores", _taskLoggingContext.TaskName, 888LoggingContext.LogComment(MessageImportance.Low, "TaskReleasedCores", _taskLoggingContext.TaskName, 893LoggingContext.LogComment(MessageImportance.Low, "TaskReleasedCoresWarning", _taskLoggingContext.TaskName, 937MessageImportance minimumImportance = _taskHost._taskLoggingContext?.LoggingService.MinimumRequiredMessageImportance ?? MessageImportance.Low; 1125_taskLoggingContext.LogWarning(null, new BuildEventFileInfo(string.Empty), "ExpectedEventToBeSerializable", e.GetType().Name);