3 writes to _projectLoggingContext
Microsoft.Build (3)
BackEnd\Components\RequestBuilder\RequestBuilder.cs (3)
1141
_projectLoggingContext
= null;
1178
_projectLoggingContext
= new ProjectLoggingContext(
1410
_projectLoggingContext
= ctx;
21 references to _projectLoggingContext
Microsoft.Build (21)
BackEnd\Components\RequestBuilder\RequestBuilder.cs (21)
308
_projectLoggingContext
.LogError(new BuildEventFileInfo(String.Empty), "FailedToReceiveTaskThreadStatus", BuildParameters.RequestBuilderShutdownTimeout);
791
if (
_projectLoggingContext
!= null)
793
_projectLoggingContext
.LogInvalidProjectFileError(ex);
806
if (
_projectLoggingContext
is null)
812
_projectLoggingContext
.LogWarning("SolutionParseUnknownProjectType", ex.Message);
825
LoggingContext loggingContext = ((LoggingContext)
_projectLoggingContext
) ?? _nodeLoggingContext;
841
(((LoggingContext)
_projectLoggingContext
) ?? _nodeLoggingContext).LogError(BuildEventFileInfo.Empty, "UnhandledMSBuildError", ex.ToString());
881
if (
_projectLoggingContext
!= null)
885
_projectLoggingContext
.ProjectTelemetry.LogProjectTelemetry(
_projectLoggingContext
.LoggingService,
_projectLoggingContext
.BuildEventContext);
887
_projectLoggingContext
.LogProjectFinished(result.OverallResult == BuildResultCode.Success);
1211
_projectLoggingContext
.LogComment(MessageImportance.Low,
1217
_requestEntry.Request.BuildEventContext =
_projectLoggingContext
.BuildEventContext;
1244
BuildResult result = await _targetBuilder.BuildTargets(
_projectLoggingContext
, _requestEntry, this,
1264
new CheckLoggingContext(_nodeLoggingContext.LoggingService,
_projectLoggingContext
.BuildEventContext),
1412
ILoggingService loggingService =
_projectLoggingContext
?.LoggingService;
1413
BuildEventContext projectBuildEventContext =
_projectLoggingContext
?.BuildEventContext;
1427
new CheckLoggingContext(_nodeLoggingContext.LoggingService,
_projectLoggingContext
!.BuildEventContext),
1491
BuildEventContext buildEventContext =
_projectLoggingContext
?.BuildEventContext;
1492
ILoggingService loggingService =
_projectLoggingContext
?.LoggingService;