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(null, null, null, new BuildEventFileInfo(root.ProjectFileLocation.File),
429
if (evaluator.
_evaluationLoggingContext
.LoggingService.IncludeEvaluationPropertiesAndItemsInEvaluationFinishedEvent)
439
evaluator.
_evaluationLoggingContext
.LogCommentFromText(MessageImportance.Low, skippedMessage);
442
evaluator.
_evaluationLoggingContext
.LogProjectEvaluationFinished(globalProperties, properties, items, evaluator._evaluationProfiler.ProfiledResult);
709
_data.EvaluationId =
_evaluationLoggingContext
.BuildEventContext.EvaluationId;
710
_evaluationLoggingContext
.LogProjectEvaluationStarted();
715
_evaluationLoggingContext
.LogCommentFromText(MessageImportance.Low, configMessage);
720
AssemblyLoadsTracker.StartTracking(
_evaluationLoggingContext
, AssemblyLoadingContext.Evaluation);
805
lazyEvaluator = new LazyItemEvaluator<P, I, M, D>(_data, _itemFactory,
_evaluationLoggingContext
, _evaluationProfiler, _evaluationContext);
868
_evaluationLoggingContext
,
1196
_evaluationLoggingContext
.LogComment(MessageImportance.Low, "OverridingTarget", otherTarget.Name, otherTarget.Location.File, targetName, targetElement.Location.File);
1235
_evaluationLoggingContext
.LogComment(MessageImportance.Low, "TargetDoesNotExistBeforeTargetMessage", unescapedBeforeTarget, targetElement.BeforeTargetsLocation.LocationString);
1258
_evaluationLoggingContext
.LogComment(MessageImportance.Low, "TargetDoesNotExistAfterTargetMessage", unescapedAfterTarget, targetElement.AfterTargetsLocation.LocationString);
1270
_evaluationLoggingContext
.LogWarning("", new BuildEventFileInfo(""), "ChangeWave_InvalidFormat", Traits.Instance.MSBuildDisableFeaturesFromVersion, $"[{string.Join(", ", ChangeWaves.AllWaves.Select(x => x.ToString()))}]");
1273
_evaluationLoggingContext
.LogWarning("", new BuildEventFileInfo(""), "ChangeWave_OutOfRotation", ChangeWaves.DisabledWave, Traits.Instance.MSBuildDisableFeaturesFromVersion, $"[{string.Join(", ", ChangeWaves.AllWaves.Select(x => x.ToString()))}]");
1356
_data.SetProperty(environmentProperty.Name, ((IProperty)environmentProperty).EvaluatedValueEscaped, isGlobalProperty: false, mayBeReserved: false, isEnvironmentVariable: true, loggingContext:
_evaluationLoggingContext
);
1367
_data.SetProperty(toolsetProperty.Name, ((IProperty)toolsetProperty).EvaluatedValueEscaped, false /* NOT global property */, false /* may NOT be a reserved name */, loggingContext:
_evaluationLoggingContext
);
1376
_data.SetProperty(Constants.VisualStudioVersionPropertyName, MSBuildConstants.CurrentVisualStudioVersion, false /* NOT global property */, false /* may NOT be a reserved name */, loggingContext:
_evaluationLoggingContext
);
1386
_data.SetProperty(Constants.SubToolsetVersionPropertyName, _data.SubToolsetVersion, false /* NOT global property */, false /* may NOT be a reserved name */, loggingContext:
_evaluationLoggingContext
);
1393
_data.SetProperty(subToolsetProperty.Name, ((IProperty)subToolsetProperty).EvaluatedValueEscaped, false /* NOT global property */, false /* may NOT be a reserved name */, loggingContext:
_evaluationLoggingContext
);
1416
loggingContext:
_evaluationLoggingContext
,
1431
P property = _data.SetProperty(name, evaluatedValueEscaped, false /* NOT global property */, true /* OK to be a reserved name */, loggingContext:
_evaluationLoggingContext
);
1449
_evaluationLoggingContext
.LogComment(MessageImportance.Low, "OM_GlobalProperty", propertyElement.Name);
1467
_expander.PropertiesUseTracker.CheckPreexistingUndefinedUsage(propertyElement, evaluatedValue,
_evaluationLoggingContext
);
1469
_data.SetProperty(propertyElement, evaluatedValue,
_evaluationLoggingContext
);
1727
_evaluationLoggingContext
.LogComment(MessageImportance.Low, "SearchPathsForMSBuildExtensionsPath",
1770
_evaluationLoggingContext
.LogComment(MessageImportance.Low, "TryingExtensionsPath", newExpandedImportPath, extensionPathExpanded);
1870
BuildEventContext =
_evaluationLoggingContext
.BuildEventContext,
1875
_evaluationLoggingContext
.LogBuildEvent(eventArgs);
1953
using var assemblyLoadsTracker = AssemblyLoadsTracker.StartTracking(
_evaluationLoggingContext
, AssemblyLoadingContext.SdkResolution, _sdkResolverService.GetType());
1958
_evaluationLoggingContext
,
1982
BuildEventContext =
_evaluationLoggingContext
.BuildEventContext,
1989
_evaluationLoggingContext
.LogBuildEvent(eventArgs);
2186
BuildEventContext =
_evaluationLoggingContext
.BuildEventContext,
2193
_evaluationLoggingContext
.LogBuildEvent(eventArgs);
2223
loggingMechanism:
_evaluationLoggingContext
,
2247
BuildEventContext =
_evaluationLoggingContext
.BuildEventContext,
2252
_evaluationLoggingContext
.LogBuildEvent(eventArgs);
2280
_evaluationLoggingContext
.LogWarning(null, new BuildEventFileInfo(importLocationInProject), "SelfImport", importFileUnescaped);
2297
_evaluationLoggingContext
.LogWarning(null, new BuildEventFileInfo(importLocationInProject), "ImportIntroducesCircularity", importFileUnescaped, importedBy);
2324
_evaluationLoggingContext
.LogWarning(null, new BuildEventFileInfo(importLocationInProject), "DuplicateImport", importFileUnescaped, previouslyImportedAt.Location.LocationString, parenthesizedProjectLocation);
2388
BuildEventContext =
_evaluationLoggingContext
.BuildEventContext,
2394
_evaluationLoggingContext
.LogBuildEvent(eventArgs);
2419
BuildEventContext =
_evaluationLoggingContext
.BuildEventContext,
2426
_evaluationLoggingContext
.LogBuildEvent(eventArgs);
2474
BuildEventContext =
_evaluationLoggingContext
.BuildEventContext,
2481
_evaluationLoggingContext
.LogBuildEvent(eventArgs);
2594
loggingContext:
_evaluationLoggingContext
);
2631
_evaluationLoggingContext
,
2775
loggingContext:
_evaluationLoggingContext
);