3 writes to _projectLoggingContext
Microsoft.Build (3)
BackEnd\Components\RequestBuilder\RequestBuilder.cs (3)
1162
_projectLoggingContext
= null;
1354
_projectLoggingContext
= new ProjectLoggingContext(
1466
_projectLoggingContext
= ctx;
24 references to _projectLoggingContext
Microsoft.Build (24)
BackEnd\Components\RequestBuilder\RequestBuilder.cs (24)
310
_projectLoggingContext
.LogError(
803
if (
_projectLoggingContext
!= null)
805
_projectLoggingContext
.LogInvalidProjectFileError(ex);
818
if (
_projectLoggingContext
is null)
824
_projectLoggingContext
.LogWarning("SolutionParseUnknownProjectType", ex.Message);
837
LoggingContext loggingContext = ((LoggingContext)
_projectLoggingContext
) ?? _nodeLoggingContext;
853
(((LoggingContext)
_projectLoggingContext
) ?? _nodeLoggingContext).LogError(ElementLocation.Empty, "UnhandledMSBuildError", ex.ToString());
900
if (
_projectLoggingContext
!= null)
904
_projectLoggingContext
.ProjectTelemetry.LogProjectTelemetry(
_projectLoggingContext
.LoggingService,
_projectLoggingContext
.BuildEventContext);
906
_projectLoggingContext
.LogProjectFinished(result.OverallResult == BuildResultCode.Success);
1233
_projectLoggingContext
.LogComment(MessageImportance.Low,
1239
_requestEntry.Request.BuildEventContext =
_projectLoggingContext
.BuildEventContext;
1262
BuildResult result = await _targetBuilder.BuildTargets(
_projectLoggingContext
, _requestEntry, this,
1273
_projectLoggingContext
.LogWarning(DiagnosticSubcategory.None, location,
1278
_projectLoggingContext
.LogWarning(DiagnosticSubcategory.None, location,
1301
if (buildCheckManager is not null &&
_projectLoggingContext
is not null)
1304
new CheckLoggingContext(_nodeLoggingContext.LoggingService,
_projectLoggingContext
.BuildEventContext),
1468
ILoggingService loggingService =
_projectLoggingContext
?.LoggingService;
1469
BuildEventContext projectBuildEventContext =
_projectLoggingContext
?.BuildEventContext;
1483
new CheckLoggingContext(_nodeLoggingContext.LoggingService,
_projectLoggingContext
!.BuildEventContext),
1547
BuildEventContext buildEventContext =
_projectLoggingContext
?.BuildEventContext;
1548
ILoggingService loggingService =
_projectLoggingContext
?.LoggingService;