3 writes to _projectLoggingContext
Microsoft.Build (3)
BackEnd\Components\RequestBuilder\RequestBuilder.cs (3)
1162_projectLoggingContext = null; 1354_projectLoggingContext = new ProjectLoggingContext( 1466_projectLoggingContext = ctx;
24 references to _projectLoggingContext
Microsoft.Build (24)
BackEnd\Components\RequestBuilder\RequestBuilder.cs (24)
310_projectLoggingContext.LogError( 803if (_projectLoggingContext != null) 805_projectLoggingContext.LogInvalidProjectFileError(ex); 818if (_projectLoggingContext is null) 824_projectLoggingContext.LogWarning("SolutionParseUnknownProjectType", ex.Message); 837LoggingContext loggingContext = ((LoggingContext)_projectLoggingContext) ?? _nodeLoggingContext; 853(((LoggingContext)_projectLoggingContext) ?? _nodeLoggingContext).LogError(ElementLocation.Empty, "UnhandledMSBuildError", ex.ToString()); 900if (_projectLoggingContext != null) 904_projectLoggingContext.ProjectTelemetry.LogProjectTelemetry(_projectLoggingContext.LoggingService, _projectLoggingContext.BuildEventContext); 906_projectLoggingContext.LogProjectFinished(result.OverallResult == BuildResultCode.Success); 1233_projectLoggingContext.LogComment(MessageImportance.Low, 1239_requestEntry.Request.BuildEventContext = _projectLoggingContext.BuildEventContext; 1262BuildResult result = await _targetBuilder.BuildTargets(_projectLoggingContext, _requestEntry, this, 1273_projectLoggingContext.LogWarning(DiagnosticSubcategory.None, location, 1278_projectLoggingContext.LogWarning(DiagnosticSubcategory.None, location, 1301if (buildCheckManager is not null && _projectLoggingContext is not null) 1304new CheckLoggingContext(_nodeLoggingContext.LoggingService, _projectLoggingContext.BuildEventContext), 1468ILoggingService loggingService = _projectLoggingContext?.LoggingService; 1469BuildEventContext projectBuildEventContext = _projectLoggingContext?.BuildEventContext; 1483new CheckLoggingContext(_nodeLoggingContext.LoggingService, _projectLoggingContext!.BuildEventContext), 1547BuildEventContext buildEventContext = _projectLoggingContext?.BuildEventContext; 1548ILoggingService loggingService = _projectLoggingContext?.LoggingService;