3 writes to _projectLoggingContext
Microsoft.Build (3)
BackEnd\Components\RequestBuilder\RequestBuilder.cs (3)
1121
_projectLoggingContext
= null;
1145
_projectLoggingContext
= new ProjectLoggingContext(
1359
_projectLoggingContext
= ctx;
18 references to _projectLoggingContext
Microsoft.Build (18)
BackEnd\Components\RequestBuilder\RequestBuilder.cs (18)
306
_projectLoggingContext
.LogError(new BuildEventFileInfo(String.Empty), "FailedToReceiveTaskThreadStatus", BuildParameters.RequestBuilderShutdownTimeout);
789
if (
_projectLoggingContext
!= null)
791
_projectLoggingContext
.LogInvalidProjectFileError(ex);
804
if (
_projectLoggingContext
is null)
810
_projectLoggingContext
.LogWarning("SolutionParseUnknownProjectType", ex.Message);
823
LoggingContext loggingContext = ((LoggingContext)
_projectLoggingContext
) ?? _nodeLoggingContext;
839
(((LoggingContext)
_projectLoggingContext
) ?? _nodeLoggingContext).LogError(BuildEventFileInfo.Empty, "UnhandledMSBuildError", ex.ToString());
879
if (
_projectLoggingContext
!= null)
883
_projectLoggingContext
.LogProjectFinished(result.OverallResult == BuildResultCode.Success);
1171
_projectLoggingContext
.LogComment(MessageImportance.Low,
1177
_requestEntry.Request.BuildEventContext =
_projectLoggingContext
.BuildEventContext;
1209
BuildResult result = await _targetBuilder.BuildTargets(
_projectLoggingContext
, _requestEntry, this,
1229
new CheckLoggingContext(_nodeLoggingContext.LoggingService,
_projectLoggingContext
.BuildEventContext),
1361
ILoggingService loggingService =
_projectLoggingContext
?.LoggingService;
1362
BuildEventContext projectBuildEventContext =
_projectLoggingContext
?.BuildEventContext;
1376
new CheckLoggingContext(_nodeLoggingContext.LoggingService,
_projectLoggingContext
!.BuildEventContext),
1470
BuildEventContext buildEventContext =
_projectLoggingContext
?.BuildEventContext;
1471
ILoggingService loggingService =
_projectLoggingContext
?.LoggingService;