2 writes to _taskLoggingContext
Microsoft.Build (2)
BackEnd\Components\RequestBuilder\TaskHost.cs (2)
225{ _taskLoggingContext = value; } 1135_taskLoggingContext = null;
35 references to _taskLoggingContext
Microsoft.Build (35)
BackEnd\Components\RequestBuilder\TaskHost.cs (35)
221{ return _taskLoggingContext; } 367MSBuildEventSource.Log.ExecuteTaskYieldStart(_taskLoggingContext.TaskName, _taskLoggingContext.BuildEventContext.TaskId); 396MSBuildEventSource.Log.ExecuteTaskYieldStop(_taskLoggingContext.TaskName, _taskLoggingContext.BuildEventContext.TaskId); 397MSBuildEventSource.Log.ExecuteTaskReacquireStart(_taskLoggingContext.TaskName, _taskLoggingContext.BuildEventContext.TaskId); 399MSBuildEventSource.Log.ExecuteTaskReacquireStop(_taskLoggingContext.TaskName, _taskLoggingContext.BuildEventContext.TaskId); 452warningEvent.BuildEventContext = _taskLoggingContext.BuildEventContext; 453_taskLoggingContext.LoggingService.LogBuildEvent(warningEvent); 456_taskLoggingContext.LoggingService.LogComment(_taskLoggingContext.BuildEventContext, MessageImportance.Normal, "ErrorConvertedIntoWarning"); 460e.BuildEventContext = _taskLoggingContext.BuildEventContext; 461_taskLoggingContext.LoggingService.LogBuildEvent(e); 464_taskLoggingContext.HasLoggedErrors = true; 551e.BuildEventContext = _taskLoggingContext.BuildEventContext; 552_taskLoggingContext.LoggingService.LogBuildEvent(e); 592e.BuildEventContext = _taskLoggingContext.BuildEventContext; 593_taskLoggingContext.LoggingService.LogBuildEvent(e); 633e.BuildEventContext = _taskLoggingContext.BuildEventContext; 634_taskLoggingContext.LoggingService.LogBuildEvent(e); 716_taskLoggingContext.LoggingService.LogTelemetry(_taskLoggingContext.BuildEventContext, eventName, properties); 757if (_taskLoggingContext == null) 762return _warningsAsErrors ??= _taskLoggingContext.GetWarningsAsErrors(); 777if (_taskLoggingContext == null) 782return _warningsNotAsErrors ??= _taskLoggingContext.GetWarningsNotAsErrors(); 797if (_taskLoggingContext == null) 802return _warningsAsMessages ??= _taskLoggingContext.GetWarningsAsMessages(); 889LoggingContext.LogComment(MessageImportance.Low, "TaskAcquiredCores", _taskLoggingContext.TaskName, 929LoggingContext.LogComment(MessageImportance.Low, "TaskReleasedCores", _taskLoggingContext.TaskName, 934LoggingContext.LogComment(MessageImportance.Low, "TaskReleasedCoresWarning", _taskLoggingContext.TaskName, 978MessageImportance minimumImportance = _taskHost._taskLoggingContext?.LoggingService.MinimumRequiredMessageImportance ?? MessageImportance.Low; 1166_taskLoggingContext.LogWarning(null, new BuildEventFileInfo(string.Empty), "ExpectedEventToBeSerializable", e.GetType().Name);