3 writes to _projectLoggingContext
Microsoft.Build (3)
BackEnd\Components\RequestBuilder\RequestBuilder.cs (3)
1158_projectLoggingContext = null; 1350_projectLoggingContext = new ProjectLoggingContext( 1460_projectLoggingContext = ctx;
24 references to _projectLoggingContext
Microsoft.Build (24)
BackEnd\Components\RequestBuilder\RequestBuilder.cs (24)
309_projectLoggingContext.LogError(new BuildEventFileInfo(String.Empty), "FailedToReceiveTaskThreadStatus", BuildParameters.RequestBuilderShutdownTimeout); 799if (_projectLoggingContext != null) 801_projectLoggingContext.LogInvalidProjectFileError(ex); 814if (_projectLoggingContext is null) 820_projectLoggingContext.LogWarning("SolutionParseUnknownProjectType", ex.Message); 833LoggingContext loggingContext = ((LoggingContext)_projectLoggingContext) ?? _nodeLoggingContext; 849(((LoggingContext)_projectLoggingContext) ?? _nodeLoggingContext).LogError(BuildEventFileInfo.Empty, "UnhandledMSBuildError", ex.ToString()); 896if (_projectLoggingContext != null) 900_projectLoggingContext.ProjectTelemetry.LogProjectTelemetry(_projectLoggingContext.LoggingService, _projectLoggingContext.BuildEventContext); 902_projectLoggingContext.LogProjectFinished(result.OverallResult == BuildResultCode.Success); 1229_projectLoggingContext.LogComment(MessageImportance.Low, 1235_requestEntry.Request.BuildEventContext = _projectLoggingContext.BuildEventContext; 1258BuildResult result = await _targetBuilder.BuildTargets(_projectLoggingContext, _requestEntry, this, 1269_projectLoggingContext.LogWarning(null, new BuildEventFileInfo(location), 1274_projectLoggingContext.LogWarning(null, new BuildEventFileInfo(location), 1297if (buildCheckManager is not null && _projectLoggingContext is not null) 1300new CheckLoggingContext(_nodeLoggingContext.LoggingService, _projectLoggingContext.BuildEventContext), 1462ILoggingService loggingService = _projectLoggingContext?.LoggingService; 1463BuildEventContext projectBuildEventContext = _projectLoggingContext?.BuildEventContext; 1477new CheckLoggingContext(_nodeLoggingContext.LoggingService, _projectLoggingContext!.BuildEventContext), 1541BuildEventContext buildEventContext = _projectLoggingContext?.BuildEventContext; 1542ILoggingService loggingService = _projectLoggingContext?.LoggingService;