3 writes to _projectLoggingContext
Microsoft.Build (3)
BackEnd\Components\RequestBuilder\RequestBuilder.cs (3)
1167_projectLoggingContext = null; 1359_projectLoggingContext = new ProjectLoggingContext( 1471_projectLoggingContext = ctx;
24 references to _projectLoggingContext
Microsoft.Build (24)
BackEnd\Components\RequestBuilder\RequestBuilder.cs (24)
315_projectLoggingContext.LogError( 808if (_projectLoggingContext != null) 810_projectLoggingContext.LogInvalidProjectFileError(ex); 823if (_projectLoggingContext is null) 829_projectLoggingContext.LogWarning("SolutionParseUnknownProjectType", ex.Message); 842LoggingContext loggingContext = ((LoggingContext)_projectLoggingContext) ?? _nodeLoggingContext; 858(((LoggingContext)_projectLoggingContext) ?? _nodeLoggingContext).LogError(ElementLocation.Empty, "UnhandledMSBuildError", ex.ToString()); 905if (_projectLoggingContext != null) 909_projectLoggingContext.ProjectTelemetry.LogProjectTelemetry(_projectLoggingContext.LoggingService, _projectLoggingContext.BuildEventContext); 911_projectLoggingContext.LogProjectFinished(result.OverallResult == BuildResultCode.Success); 1238_projectLoggingContext.LogComment(MessageImportance.Low, 1244_requestEntry.Request.BuildEventContext = _projectLoggingContext.BuildEventContext; 1267BuildResult result = await _targetBuilder.BuildTargets(_projectLoggingContext, _requestEntry, this, 1278_projectLoggingContext.LogWarning(DiagnosticSubcategory.None, location, 1283_projectLoggingContext.LogWarning(DiagnosticSubcategory.None, location, 1306if (buildCheckManager is not null && _projectLoggingContext is not null) 1309new CheckLoggingContext(_nodeLoggingContext.LoggingService, _projectLoggingContext.BuildEventContext), 1473ILoggingService loggingService = _projectLoggingContext?.LoggingService; 1474BuildEventContext projectBuildEventContext = _projectLoggingContext?.BuildEventContext; 1488new CheckLoggingContext(_nodeLoggingContext.LoggingService, _projectLoggingContext!.BuildEventContext), 1552BuildEventContext buildEventContext = _projectLoggingContext?.BuildEventContext; 1553ILoggingService loggingService = _projectLoggingContext?.LoggingService;