3 writes to _projectLoggingContext
Microsoft.Build (3)
BackEnd\Components\RequestBuilder\RequestBuilder.cs (3)
1147
_projectLoggingContext
= null;
1184
_projectLoggingContext
= new ProjectLoggingContext(
1408
_projectLoggingContext
= ctx;
21 references to _projectLoggingContext
Microsoft.Build (21)
BackEnd\Components\RequestBuilder\RequestBuilder.cs (21)
308
_projectLoggingContext
.LogError(new BuildEventFileInfo(String.Empty), "FailedToReceiveTaskThreadStatus", BuildParameters.RequestBuilderShutdownTimeout);
792
if (
_projectLoggingContext
!= null)
794
_projectLoggingContext
.LogInvalidProjectFileError(ex);
807
if (
_projectLoggingContext
is null)
813
_projectLoggingContext
.LogWarning("SolutionParseUnknownProjectType", ex.Message);
826
LoggingContext loggingContext = ((LoggingContext)
_projectLoggingContext
) ?? _nodeLoggingContext;
842
(((LoggingContext)
_projectLoggingContext
) ?? _nodeLoggingContext).LogError(BuildEventFileInfo.Empty, "UnhandledMSBuildError", ex.ToString());
884
if (
_projectLoggingContext
!= null)
888
_projectLoggingContext
.ProjectTelemetry.LogProjectTelemetry(
_projectLoggingContext
.LoggingService,
_projectLoggingContext
.BuildEventContext);
890
_projectLoggingContext
.LogProjectFinished(result.OverallResult == BuildResultCode.Success);
1217
_projectLoggingContext
.LogComment(MessageImportance.Low,
1223
_requestEntry.Request.BuildEventContext =
_projectLoggingContext
.BuildEventContext;
1248
BuildResult result = await _targetBuilder.BuildTargets(
_projectLoggingContext
, _requestEntry, this,
1271
new CheckLoggingContext(_nodeLoggingContext.LoggingService,
_projectLoggingContext
.BuildEventContext),
1410
ILoggingService loggingService =
_projectLoggingContext
?.LoggingService;
1411
BuildEventContext projectBuildEventContext =
_projectLoggingContext
?.BuildEventContext;
1425
new CheckLoggingContext(_nodeLoggingContext.LoggingService,
_projectLoggingContext
!.BuildEventContext),
1489
BuildEventContext buildEventContext =
_projectLoggingContext
?.BuildEventContext;
1490
ILoggingService loggingService =
_projectLoggingContext
?.LoggingService;