2 writes to _taskLoggingContext
Microsoft.Build (2)
BackEnd\Components\RequestBuilder\TaskHost.cs (2)
220{ _taskLoggingContext = value; } 1130_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); 447warningEvent.BuildEventContext = _taskLoggingContext.BuildEventContext; 448_taskLoggingContext.LoggingService.LogBuildEvent(warningEvent); 451_taskLoggingContext.LoggingService.LogComment(_taskLoggingContext.BuildEventContext, MessageImportance.Normal, "ErrorConvertedIntoWarning"); 455e.BuildEventContext = _taskLoggingContext.BuildEventContext; 456_taskLoggingContext.LoggingService.LogBuildEvent(e); 459_taskLoggingContext.HasLoggedErrors = true; 546e.BuildEventContext = _taskLoggingContext.BuildEventContext; 547_taskLoggingContext.LoggingService.LogBuildEvent(e); 587e.BuildEventContext = _taskLoggingContext.BuildEventContext; 588_taskLoggingContext.LoggingService.LogBuildEvent(e); 628e.BuildEventContext = _taskLoggingContext.BuildEventContext; 629_taskLoggingContext.LoggingService.LogBuildEvent(e); 711_taskLoggingContext.LoggingService.LogTelemetry(_taskLoggingContext.BuildEventContext, eventName, properties); 752if (_taskLoggingContext == null) 757return _warningsAsErrors ??= _taskLoggingContext.GetWarningsAsErrors(); 772if (_taskLoggingContext == null) 777return _warningsNotAsErrors ??= _taskLoggingContext.GetWarningsNotAsErrors(); 792if (_taskLoggingContext == null) 797return _warningsAsMessages ??= _taskLoggingContext.GetWarningsAsMessages(); 884LoggingContext.LogComment(MessageImportance.Low, "TaskAcquiredCores", _taskLoggingContext.TaskName, 924LoggingContext.LogComment(MessageImportance.Low, "TaskReleasedCores", _taskLoggingContext.TaskName, 929LoggingContext.LogComment(MessageImportance.Low, "TaskReleasedCoresWarning", _taskLoggingContext.TaskName, 973MessageImportance minimumImportance = _taskHost._taskLoggingContext?.LoggingService.MinimumRequiredMessageImportance ?? MessageImportance.Low; 1161_taskLoggingContext.LogWarning(null, new BuildEventFileInfo(string.Empty), "ExpectedEventToBeSerializable", e.GetType().Name);