3 writes to _projectLoggingContext
Microsoft.Build (3)
BackEnd\Components\RequestBuilder\RequestBuilder.cs (3)
1108
_projectLoggingContext
= null;
1145
_projectLoggingContext
= new ProjectLoggingContext(
1377
_projectLoggingContext
= ctx;
21 references to _projectLoggingContext
Microsoft.Build (21)
BackEnd\Components\RequestBuilder\RequestBuilder.cs (21)
307
_projectLoggingContext
.LogError(new BuildEventFileInfo(String.Empty), "FailedToReceiveTaskThreadStatus", BuildParameters.RequestBuilderShutdownTimeout);
790
if (
_projectLoggingContext
!= null)
792
_projectLoggingContext
.LogInvalidProjectFileError(ex);
805
if (
_projectLoggingContext
is null)
811
_projectLoggingContext
.LogWarning("SolutionParseUnknownProjectType", ex.Message);
824
LoggingContext loggingContext = ((LoggingContext)
_projectLoggingContext
) ?? _nodeLoggingContext;
840
(((LoggingContext)
_projectLoggingContext
) ?? _nodeLoggingContext).LogError(BuildEventFileInfo.Empty, "UnhandledMSBuildError", ex.ToString());
880
if (
_projectLoggingContext
!= null)
884
_projectLoggingContext
.ProjectTelemetry.LogProjectTelemetry(
_projectLoggingContext
.LoggingService,
_projectLoggingContext
.BuildEventContext);
886
_projectLoggingContext
.LogProjectFinished(result.OverallResult == BuildResultCode.Success);
1178
_projectLoggingContext
.LogComment(MessageImportance.Low,
1184
_requestEntry.Request.BuildEventContext =
_projectLoggingContext
.BuildEventContext;
1213
BuildResult result = await _targetBuilder.BuildTargets(
_projectLoggingContext
, _requestEntry, this,
1233
new CheckLoggingContext(_nodeLoggingContext.LoggingService,
_projectLoggingContext
.BuildEventContext),
1379
ILoggingService loggingService =
_projectLoggingContext
?.LoggingService;
1380
BuildEventContext projectBuildEventContext =
_projectLoggingContext
?.BuildEventContext;
1394
new CheckLoggingContext(_nodeLoggingContext.LoggingService,
_projectLoggingContext
!.BuildEventContext),
1458
BuildEventContext buildEventContext =
_projectLoggingContext
?.BuildEventContext;
1459
ILoggingService loggingService =
_projectLoggingContext
?.LoggingService;