3 writes to _projectLoggingContext
Microsoft.Build (3)
BackEnd\Components\RequestBuilder\RequestBuilder.cs (3)
1161_projectLoggingContext = null; 1353_projectLoggingContext = new ProjectLoggingContext( 1465_projectLoggingContext = ctx;
24 references to _projectLoggingContext
Microsoft.Build (24)
BackEnd\Components\RequestBuilder\RequestBuilder.cs (24)
309_projectLoggingContext.LogError( 802if (_projectLoggingContext != null) 804_projectLoggingContext.LogInvalidProjectFileError(ex); 817if (_projectLoggingContext is null) 823_projectLoggingContext.LogWarning("SolutionParseUnknownProjectType", ex.Message); 836LoggingContext loggingContext = ((LoggingContext)_projectLoggingContext) ?? _nodeLoggingContext; 852(((LoggingContext)_projectLoggingContext) ?? _nodeLoggingContext).LogError(ElementLocation.Empty, "UnhandledMSBuildError", ex.ToString()); 899if (_projectLoggingContext != null) 903_projectLoggingContext.ProjectTelemetry.LogProjectTelemetry(_projectLoggingContext.LoggingService, _projectLoggingContext.BuildEventContext); 905_projectLoggingContext.LogProjectFinished(result.OverallResult == BuildResultCode.Success); 1232_projectLoggingContext.LogComment(MessageImportance.Low, 1238_requestEntry.Request.BuildEventContext = _projectLoggingContext.BuildEventContext; 1261BuildResult result = await _targetBuilder.BuildTargets(_projectLoggingContext, _requestEntry, this, 1272_projectLoggingContext.LogWarning(DiagnosticSubcategory.None, location, 1277_projectLoggingContext.LogWarning(DiagnosticSubcategory.None, location, 1300if (buildCheckManager is not null && _projectLoggingContext is not null) 1303new CheckLoggingContext(_nodeLoggingContext.LoggingService, _projectLoggingContext.BuildEventContext), 1467ILoggingService loggingService = _projectLoggingContext?.LoggingService; 1468BuildEventContext projectBuildEventContext = _projectLoggingContext?.BuildEventContext; 1482new CheckLoggingContext(_nodeLoggingContext.LoggingService, _projectLoggingContext!.BuildEventContext), 1546BuildEventContext buildEventContext = _projectLoggingContext?.BuildEventContext; 1547ILoggingService loggingService = _projectLoggingContext?.LoggingService;