3 writes to _projectLoggingContext
Microsoft.Build (3)
BackEnd\Components\RequestBuilder\RequestBuilder.cs (3)
1120
_projectLoggingContext
= null;
1144
_projectLoggingContext
= new ProjectLoggingContext(
1276
_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);
1170
_projectLoggingContext
.LogComment(MessageImportance.Low,
1176
_requestEntry.Request.BuildEventContext =
_projectLoggingContext
.BuildEventContext;
1208
BuildResult result = await _targetBuilder.BuildTargets(
_projectLoggingContext
, _requestEntry, this,
1226
new CheckLoggingContext(_nodeLoggingContext.LoggingService,
_projectLoggingContext
.BuildEventContext),
1278
ILoggingService loggingService =
_projectLoggingContext
?.LoggingService;
1279
BuildEventContext projectBuildEventContext =
_projectLoggingContext
?.BuildEventContext;
1293
new CheckLoggingContext(_nodeLoggingContext.LoggingService,
_projectLoggingContext
!.BuildEventContext),
1387
BuildEventContext buildEventContext =
_projectLoggingContext
?.BuildEventContext;
1388
ILoggingService loggingService =
_projectLoggingContext
?.LoggingService;