3 writes to _projectLoggingContext
Microsoft.Build (3)
BackEnd\Components\RequestBuilder\RequestBuilder.cs (3)
1158_projectLoggingContext = null; 1195_projectLoggingContext = new ProjectLoggingContext( 1420_projectLoggingContext = ctx;
22 references to _projectLoggingContext
Microsoft.Build (22)
BackEnd\Components\RequestBuilder\RequestBuilder.cs (22)
308_projectLoggingContext.LogError(new BuildEventFileInfo(String.Empty), "FailedToReceiveTaskThreadStatus", BuildParameters.RequestBuilderShutdownTimeout); 798if (_projectLoggingContext != null) 800_projectLoggingContext.LogInvalidProjectFileError(ex); 813if (_projectLoggingContext is null) 819_projectLoggingContext.LogWarning("SolutionParseUnknownProjectType", ex.Message); 832LoggingContext loggingContext = ((LoggingContext)_projectLoggingContext) ?? _nodeLoggingContext; 848(((LoggingContext)_projectLoggingContext) ?? _nodeLoggingContext).LogError(BuildEventFileInfo.Empty, "UnhandledMSBuildError", ex.ToString()); 895if (_projectLoggingContext != null) 899_projectLoggingContext.ProjectTelemetry.LogProjectTelemetry(_projectLoggingContext.LoggingService, _projectLoggingContext.BuildEventContext); 901_projectLoggingContext.LogProjectFinished(result.OverallResult == BuildResultCode.Success); 1228_projectLoggingContext.LogComment(MessageImportance.Low, 1234_requestEntry.Request.BuildEventContext = _projectLoggingContext.BuildEventContext; 1257BuildResult result = await _targetBuilder.BuildTargets(_projectLoggingContext, _requestEntry, this, 1279if (buildCheckManager is not null && _projectLoggingContext is not null) 1282new CheckLoggingContext(_nodeLoggingContext.LoggingService, _projectLoggingContext.BuildEventContext), 1422ILoggingService loggingService = _projectLoggingContext?.LoggingService; 1423BuildEventContext projectBuildEventContext = _projectLoggingContext?.BuildEventContext; 1437new CheckLoggingContext(_nodeLoggingContext.LoggingService, _projectLoggingContext!.BuildEventContext), 1501BuildEventContext buildEventContext = _projectLoggingContext?.BuildEventContext; 1502ILoggingService loggingService = _projectLoggingContext?.LoggingService;