2 writes to _taskLoggingContext
Microsoft.Build (2)
BackEnd\Components\RequestBuilder\TaskHost.cs (2)
220{ _taskLoggingContext = value; } 1093_taskLoggingContext = null;
35 references to _taskLoggingContext
Microsoft.Build (35)
BackEnd\Components\RequestBuilder\TaskHost.cs (35)
216{ return _taskLoggingContext; } 362MSBuildEventSource.Log.ExecuteTaskYieldStart(_taskLoggingContext.TaskName, _taskLoggingContext.BuildEventContext.TaskId); 391MSBuildEventSource.Log.ExecuteTaskYieldStop(_taskLoggingContext.TaskName, _taskLoggingContext.BuildEventContext.TaskId); 392MSBuildEventSource.Log.ExecuteTaskReacquireStart(_taskLoggingContext.TaskName, _taskLoggingContext.BuildEventContext.TaskId); 394MSBuildEventSource.Log.ExecuteTaskReacquireStop(_taskLoggingContext.TaskName, _taskLoggingContext.BuildEventContext.TaskId); 457warningEvent.BuildEventContext = _taskLoggingContext.BuildEventContext; 458_taskLoggingContext.LoggingService.LogBuildEvent(warningEvent); 461_taskLoggingContext.LoggingService.LogComment(_taskLoggingContext.BuildEventContext, MessageImportance.Normal, "ErrorConvertedIntoWarning"); 465e.BuildEventContext = _taskLoggingContext.BuildEventContext; 466_taskLoggingContext.LoggingService.LogBuildEvent(e); 469_taskLoggingContext.HasLoggedErrors = true; 509e.BuildEventContext = _taskLoggingContext.BuildEventContext; 510_taskLoggingContext.LoggingService.LogBuildEvent(e); 550e.BuildEventContext = _taskLoggingContext.BuildEventContext; 551_taskLoggingContext.LoggingService.LogBuildEvent(e); 591e.BuildEventContext = _taskLoggingContext.BuildEventContext; 592_taskLoggingContext.LoggingService.LogBuildEvent(e); 674_taskLoggingContext.LoggingService.LogTelemetry(_taskLoggingContext.BuildEventContext, eventName, properties); 715if (_taskLoggingContext == null) 720return _warningsAsErrors ??= _taskLoggingContext.GetWarningsAsErrors(); 735if (_taskLoggingContext == null) 740return _warningsNotAsErrors ??= _taskLoggingContext.GetWarningsNotAsErrors(); 755if (_taskLoggingContext == null) 760return _warningsAsMessages ??= _taskLoggingContext.GetWarningsAsMessages(); 847LoggingContext.LogComment(MessageImportance.Low, "TaskAcquiredCores", _taskLoggingContext.TaskName, 887LoggingContext.LogComment(MessageImportance.Low, "TaskReleasedCores", _taskLoggingContext.TaskName, 892LoggingContext.LogComment(MessageImportance.Low, "TaskReleasedCoresWarning", _taskLoggingContext.TaskName, 936MessageImportance minimumImportance = _taskHost._taskLoggingContext?.LoggingService.MinimumRequiredMessageImportance ?? MessageImportance.Low; 1124_taskLoggingContext.LogWarning(null, new BuildEventFileInfo(string.Empty), "ExpectedEventToBeSerializable", e.GetType().Name);