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(
808
if (
_projectLoggingContext
!= null)
810
_projectLoggingContext
.LogInvalidProjectFileError(ex);
823
if (
_projectLoggingContext
is null)
829
_projectLoggingContext
.LogWarning("SolutionParseUnknownProjectType", ex.Message);
842
LoggingContext loggingContext = ((LoggingContext)
_projectLoggingContext
) ?? _nodeLoggingContext;
858
(((LoggingContext)
_projectLoggingContext
) ?? _nodeLoggingContext).LogError(ElementLocation.Empty, "UnhandledMSBuildError", ex.ToString());
905
if (
_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;
1267
BuildResult result = await _targetBuilder.BuildTargets(
_projectLoggingContext
, _requestEntry, this,
1278
_projectLoggingContext
.LogWarning(DiagnosticSubcategory.None, location,
1283
_projectLoggingContext
.LogWarning(DiagnosticSubcategory.None, location,
1306
if (buildCheckManager is not null &&
_projectLoggingContext
is not null)
1309
new CheckLoggingContext(_nodeLoggingContext.LoggingService,
_projectLoggingContext
.BuildEventContext),
1473
ILoggingService loggingService =
_projectLoggingContext
?.LoggingService;
1474
BuildEventContext projectBuildEventContext =
_projectLoggingContext
?.BuildEventContext;
1488
new CheckLoggingContext(_nodeLoggingContext.LoggingService,
_projectLoggingContext
!.BuildEventContext),
1552
BuildEventContext buildEventContext =
_projectLoggingContext
?.BuildEventContext;
1553
ILoggingService loggingService =
_projectLoggingContext
?.LoggingService;