2 writes to _taskLoggingContext
Microsoft.Build (2)
BackEnd\Components\RequestBuilder\TaskHost.cs (2)
219{ _taskLoggingContext = value; } 1090_taskLoggingContext = null;
35 references to _taskLoggingContext
Microsoft.Build (35)
BackEnd\Components\RequestBuilder\TaskHost.cs (35)
215{ return _taskLoggingContext; } 361MSBuildEventSource.Log.ExecuteTaskYieldStart(_taskLoggingContext.TaskName, _taskLoggingContext.BuildEventContext.TaskId); 390MSBuildEventSource.Log.ExecuteTaskYieldStop(_taskLoggingContext.TaskName, _taskLoggingContext.BuildEventContext.TaskId); 391MSBuildEventSource.Log.ExecuteTaskReacquireStart(_taskLoggingContext.TaskName, _taskLoggingContext.BuildEventContext.TaskId); 393MSBuildEventSource.Log.ExecuteTaskReacquireStop(_taskLoggingContext.TaskName, _taskLoggingContext.BuildEventContext.TaskId); 456warningEvent.BuildEventContext = _taskLoggingContext.BuildEventContext; 457_taskLoggingContext.LoggingService.LogBuildEvent(warningEvent); 460_taskLoggingContext.LoggingService.LogComment(_taskLoggingContext.BuildEventContext, MessageImportance.Normal, "ErrorConvertedIntoWarning"); 464e.BuildEventContext = _taskLoggingContext.BuildEventContext; 465_taskLoggingContext.LoggingService.LogBuildEvent(e); 468_taskLoggingContext.HasLoggedErrors = true; 508e.BuildEventContext = _taskLoggingContext.BuildEventContext; 509_taskLoggingContext.LoggingService.LogBuildEvent(e); 549e.BuildEventContext = _taskLoggingContext.BuildEventContext; 550_taskLoggingContext.LoggingService.LogBuildEvent(e); 590e.BuildEventContext = _taskLoggingContext.BuildEventContext; 591_taskLoggingContext.LoggingService.LogBuildEvent(e); 673_taskLoggingContext.LoggingService.LogTelemetry(_taskLoggingContext.BuildEventContext, eventName, properties); 714if (_taskLoggingContext == null) 719return _warningsAsErrors ??= _taskLoggingContext.GetWarningsAsErrors(); 734if (_taskLoggingContext == null) 739return _warningsNotAsErrors ??= _taskLoggingContext.GetWarningsNotAsErrors(); 754if (_taskLoggingContext == null) 759return _warningsAsMessages ??= _taskLoggingContext.GetWarningsAsMessages(); 846LoggingContext.LogComment(MessageImportance.Low, "TaskAcquiredCores", _taskLoggingContext.TaskName, 886LoggingContext.LogComment(MessageImportance.Low, "TaskReleasedCores", _taskLoggingContext.TaskName, 891LoggingContext.LogComment(MessageImportance.Low, "TaskReleasedCoresWarning", _taskLoggingContext.TaskName, 935MessageImportance minimumImportance = _taskHost._taskLoggingContext?.LoggingService.MinimumRequiredMessageImportance ?? MessageImportance.Low; 1121_taskLoggingContext.LogWarning(null, new BuildEventFileInfo(string.Empty), "ExpectedEventToBeSerializable", e.GetType().Name);