3 writes to _projectLoggingContext
Microsoft.Build (3)
BackEnd\Components\RequestBuilder\RequestBuilder.cs (3)
1158
_projectLoggingContext
= null;
1195
_projectLoggingContext
= new ProjectLoggingContext(
1420
_projectLoggingContext
= ctx;
22 references to _projectLoggingContext
Microsoft.Build (22)
BackEnd\Components\RequestBuilder\RequestBuilder.cs (22)
308
_projectLoggingContext
.LogError(new BuildEventFileInfo(String.Empty), "FailedToReceiveTaskThreadStatus", BuildParameters.RequestBuilderShutdownTimeout);
798
if (
_projectLoggingContext
!= null)
800
_projectLoggingContext
.LogInvalidProjectFileError(ex);
813
if (
_projectLoggingContext
is null)
819
_projectLoggingContext
.LogWarning("SolutionParseUnknownProjectType", ex.Message);
832
LoggingContext loggingContext = ((LoggingContext)
_projectLoggingContext
) ?? _nodeLoggingContext;
848
(((LoggingContext)
_projectLoggingContext
) ?? _nodeLoggingContext).LogError(BuildEventFileInfo.Empty, "UnhandledMSBuildError", ex.ToString());
895
if (
_projectLoggingContext
!= null)
899
_projectLoggingContext
.ProjectTelemetry.LogProjectTelemetry(
_projectLoggingContext
.LoggingService,
_projectLoggingContext
.BuildEventContext);
901
_projectLoggingContext
.LogProjectFinished(result.OverallResult == BuildResultCode.Success);
1228
_projectLoggingContext
.LogComment(MessageImportance.Low,
1234
_requestEntry.Request.BuildEventContext =
_projectLoggingContext
.BuildEventContext;
1257
BuildResult result = await _targetBuilder.BuildTargets(
_projectLoggingContext
, _requestEntry, this,
1279
if (buildCheckManager is not null &&
_projectLoggingContext
is not null)
1282
new CheckLoggingContext(_nodeLoggingContext.LoggingService,
_projectLoggingContext
.BuildEventContext),
1422
ILoggingService loggingService =
_projectLoggingContext
?.LoggingService;
1423
BuildEventContext projectBuildEventContext =
_projectLoggingContext
?.BuildEventContext;
1437
new CheckLoggingContext(_nodeLoggingContext.LoggingService,
_projectLoggingContext
!.BuildEventContext),
1501
BuildEventContext buildEventContext =
_projectLoggingContext
?.BuildEventContext;
1502
ILoggingService loggingService =
_projectLoggingContext
?.LoggingService;