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(
802
if (
_projectLoggingContext
!= null)
804
_projectLoggingContext
.LogInvalidProjectFileError(ex);
817
if (
_projectLoggingContext
is null)
823
_projectLoggingContext
.LogWarning("SolutionParseUnknownProjectType", ex.Message);
836
LoggingContext loggingContext = ((LoggingContext)
_projectLoggingContext
) ?? _nodeLoggingContext;
852
(((LoggingContext)
_projectLoggingContext
) ?? _nodeLoggingContext).LogError(ElementLocation.Empty, "UnhandledMSBuildError", ex.ToString());
899
if (
_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;
1261
BuildResult result = await _targetBuilder.BuildTargets(
_projectLoggingContext
, _requestEntry, this,
1272
_projectLoggingContext
.LogWarning(DiagnosticSubcategory.None, location,
1277
_projectLoggingContext
.LogWarning(DiagnosticSubcategory.None, location,
1300
if (buildCheckManager is not null &&
_projectLoggingContext
is not null)
1303
new CheckLoggingContext(_nodeLoggingContext.LoggingService,
_projectLoggingContext
.BuildEventContext),
1467
ILoggingService loggingService =
_projectLoggingContext
?.LoggingService;
1468
BuildEventContext projectBuildEventContext =
_projectLoggingContext
?.BuildEventContext;
1482
new CheckLoggingContext(_nodeLoggingContext.LoggingService,
_projectLoggingContext
!.BuildEventContext),
1546
BuildEventContext buildEventContext =
_projectLoggingContext
?.BuildEventContext;
1547
ILoggingService loggingService =
_projectLoggingContext
?.LoggingService;