3 writes to _projectLoggingContext
Microsoft.Build (3)
BackEnd\Components\RequestBuilder\RequestBuilder.cs (3)
1107
_projectLoggingContext
= null;
1129
_projectLoggingContext
= new ProjectLoggingContext(
1347
_projectLoggingContext
= ctx;
18 references to _projectLoggingContext
Microsoft.Build (18)
BackEnd\Components\RequestBuilder\RequestBuilder.cs (18)
305
_projectLoggingContext
.LogError(new BuildEventFileInfo(String.Empty), "FailedToReceiveTaskThreadStatus", BuildParameters.RequestBuilderShutdownTimeout);
788
if (
_projectLoggingContext
!= null)
790
_projectLoggingContext
.LogInvalidProjectFileError(ex);
803
if (
_projectLoggingContext
is null)
809
_projectLoggingContext
.LogWarning("SolutionParseUnknownProjectType", ex.Message);
822
LoggingContext loggingContext = ((LoggingContext)
_projectLoggingContext
) ?? _nodeLoggingContext;
838
(((LoggingContext)
_projectLoggingContext
) ?? _nodeLoggingContext).LogError(BuildEventFileInfo.Empty, "UnhandledMSBuildError", ex.ToString());
878
if (
_projectLoggingContext
!= null)
882
_projectLoggingContext
.LogProjectFinished(result.OverallResult == BuildResultCode.Success);
1162
_projectLoggingContext
.LogComment(MessageImportance.Low,
1168
_requestEntry.Request.BuildEventContext =
_projectLoggingContext
.BuildEventContext;
1197
BuildResult result = await _targetBuilder.BuildTargets(
_projectLoggingContext
, _requestEntry, this,
1217
new CheckLoggingContext(_nodeLoggingContext.LoggingService,
_projectLoggingContext
.BuildEventContext),
1349
ILoggingService loggingService =
_projectLoggingContext
?.LoggingService;
1350
BuildEventContext projectBuildEventContext =
_projectLoggingContext
?.BuildEventContext;
1364
new CheckLoggingContext(_nodeLoggingContext.LoggingService,
_projectLoggingContext
!.BuildEventContext),
1458
BuildEventContext buildEventContext =
_projectLoggingContext
?.BuildEventContext;
1459
ILoggingService loggingService =
_projectLoggingContext
?.LoggingService;