1 write to _evaluationLoggingContext
Microsoft.Build (1)
Evaluation\Evaluator.cs (1)
257
_evaluationLoggingContext
= evaluationLoggingContext;
54 references to _evaluationLoggingContext
Microsoft.Build (54)
Evaluation\Evaluator.cs (54)
260
data = new PropertyTrackingEvaluatorDataWrapper<P, I, M, D>(data,
_evaluationLoggingContext
, Traits.Instance.LogPropertyTracking);
264
IDirectoryCache directoryCache = directoryCacheFactory?.GetDirectoryCacheForEvaluation(
_evaluationLoggingContext
.BuildEventContext.EvaluationId);
272
data.InitializeForEvaluation(toolsetProvider, _evaluationContext,
_evaluationLoggingContext
);
274
_expander = new Expander<P, I>(data, data, _evaluationContext,
_evaluationLoggingContext
);
412
evaluator.
_evaluationLoggingContext
.LogErrorFromText(
433
if (evaluator.
_evaluationLoggingContext
.LoggingService.IncludeEvaluationPropertiesAndItemsInEvaluationFinishedEvent)
443
evaluator.
_evaluationLoggingContext
.LogCommentFromText(MessageImportance.Low, skippedMessage);
446
evaluator.
_evaluationLoggingContext
.LogProjectEvaluationFinished(globalProperties, properties, items, evaluator._evaluationProfiler.ProfiledResult);
713
_data.EvaluationId =
_evaluationLoggingContext
.BuildEventContext.EvaluationId;
714
_evaluationLoggingContext
.LogProjectEvaluationStarted();
719
_evaluationLoggingContext
.LogCommentFromText(MessageImportance.Low, configMessage);
724
AssemblyLoadsTracker.StartTracking(
_evaluationLoggingContext
, AssemblyLoadingContext.Evaluation);
809
lazyEvaluator = new LazyItemEvaluator<P, I, M, D>(_data, _itemFactory,
_evaluationLoggingContext
, _evaluationProfiler, _evaluationContext);
872
_evaluationLoggingContext
,
1200
_evaluationLoggingContext
.LogComment(MessageImportance.Low, "OverridingTarget", otherTarget.Name, otherTarget.Location.File, targetName, targetElement.Location.File);
1239
_evaluationLoggingContext
.LogComment(MessageImportance.Low, "TargetDoesNotExistBeforeTargetMessage", unescapedBeforeTarget, targetElement.BeforeTargetsLocation.LocationString);
1262
_evaluationLoggingContext
.LogComment(MessageImportance.Low, "TargetDoesNotExistAfterTargetMessage", unescapedAfterTarget, targetElement.AfterTargetsLocation.LocationString);
1274
_evaluationLoggingContext
.LogWarning(DiagnosticSubcategory.None, ElementLocation.Empty, "ChangeWave_InvalidFormat", Traits.Instance.MSBuildDisableFeaturesFromVersion, $"[{string.Join(", ", ChangeWaves.AllWaves.Select(x => x.ToString()))}]");
1277
_evaluationLoggingContext
.LogWarning(DiagnosticSubcategory.None, ElementLocation.Empty, "ChangeWave_OutOfRotation", ChangeWaves.DisabledWave, Traits.Instance.MSBuildDisableFeaturesFromVersion, $"[{string.Join(", ", ChangeWaves.AllWaves.Select(x => x.ToString()))}]");
1360
_data.SetProperty(environmentProperty.Name, ((IProperty)environmentProperty).EvaluatedValueEscaped, isGlobalProperty: false, mayBeReserved: false, isEnvironmentVariable: true, loggingContext:
_evaluationLoggingContext
);
1371
_data.SetProperty(toolsetProperty.Name, ((IProperty)toolsetProperty).EvaluatedValueEscaped, false /* NOT global property */, false /* may NOT be a reserved name */, loggingContext:
_evaluationLoggingContext
);
1380
_data.SetProperty(Constants.VisualStudioVersionPropertyName, MSBuildConstants.CurrentVisualStudioVersion, false /* NOT global property */, false /* may NOT be a reserved name */, loggingContext:
_evaluationLoggingContext
);
1390
_data.SetProperty(Constants.SubToolsetVersionPropertyName, _data.SubToolsetVersion, false /* NOT global property */, false /* may NOT be a reserved name */, loggingContext:
_evaluationLoggingContext
);
1397
_data.SetProperty(subToolsetProperty.Name, ((IProperty)subToolsetProperty).EvaluatedValueEscaped, false /* NOT global property */, false /* may NOT be a reserved name */, loggingContext:
_evaluationLoggingContext
);
1420
loggingContext:
_evaluationLoggingContext
,
1435
P property = _data.SetProperty(name, evaluatedValueEscaped, false /* NOT global property */, true /* OK to be a reserved name */, loggingContext:
_evaluationLoggingContext
);
1453
_evaluationLoggingContext
.LogComment(MessageImportance.Low, "OM_GlobalProperty", propertyElement.Name);
1471
_expander.PropertiesUseTracker.CheckPreexistingUndefinedUsage(propertyElement, evaluatedValue,
_evaluationLoggingContext
);
1473
_data.SetProperty(propertyElement, evaluatedValue,
_evaluationLoggingContext
);
1731
_evaluationLoggingContext
.LogComment(MessageImportance.Low, "SearchPathsForMSBuildExtensionsPath",
1774
_evaluationLoggingContext
.LogComment(MessageImportance.Low, "TryingExtensionsPath", newExpandedImportPath, extensionPathExpanded);
1874
BuildEventContext =
_evaluationLoggingContext
.BuildEventContext,
1879
_evaluationLoggingContext
.LogBuildEvent(eventArgs);
1957
using var assemblyLoadsTracker = AssemblyLoadsTracker.StartTracking(
_evaluationLoggingContext
, AssemblyLoadingContext.SdkResolution, _sdkResolverService.GetType());
1962
_evaluationLoggingContext
,
1986
BuildEventContext =
_evaluationLoggingContext
.BuildEventContext,
1993
_evaluationLoggingContext
.LogBuildEvent(eventArgs);
2190
BuildEventContext =
_evaluationLoggingContext
.BuildEventContext,
2197
_evaluationLoggingContext
.LogBuildEvent(eventArgs);
2227
loggingMechanism:
_evaluationLoggingContext
,
2251
BuildEventContext =
_evaluationLoggingContext
.BuildEventContext,
2256
_evaluationLoggingContext
.LogBuildEvent(eventArgs);
2284
_evaluationLoggingContext
.LogWarning(DiagnosticSubcategory.None, importLocationInProject, "SelfImport", importFileUnescaped);
2301
_evaluationLoggingContext
.LogWarning(DiagnosticSubcategory.None, importLocationInProject, "ImportIntroducesCircularity", importFileUnescaped, importedBy);
2328
_evaluationLoggingContext
.LogWarning(DiagnosticSubcategory.None, importLocationInProject, "DuplicateImport", importFileUnescaped, previouslyImportedAt.Location.LocationString, parenthesizedProjectLocation);
2392
BuildEventContext =
_evaluationLoggingContext
.BuildEventContext,
2398
_evaluationLoggingContext
.LogBuildEvent(eventArgs);
2423
BuildEventContext =
_evaluationLoggingContext
.BuildEventContext,
2430
_evaluationLoggingContext
.LogBuildEvent(eventArgs);
2478
BuildEventContext =
_evaluationLoggingContext
.BuildEventContext,
2485
_evaluationLoggingContext
.LogBuildEvent(eventArgs);
2598
loggingContext:
_evaluationLoggingContext
);
2635
_evaluationLoggingContext
,
2779
loggingContext:
_evaluationLoggingContext
);