1 write to _evaluationLoggingContext
Microsoft.Build (1)
Evaluation\Evaluator.cs (1)
227
_evaluationLoggingContext
= new EvaluationLoggingContext(
52 references to _evaluationLoggingContext
Microsoft.Build (52)
Evaluation\Evaluator.cs (52)
233
data = new PropertyTrackingEvaluatorDataWrapper<P, I, M, D>(data,
_evaluationLoggingContext
, Traits.Instance.LogPropertyTracking);
237
IDirectoryCache directoryCache = directoryCacheFactory?.GetDirectoryCacheForEvaluation(
_evaluationLoggingContext
.BuildEventContext.EvaluationId);
245
data.InitializeForEvaluation(toolsetProvider, _evaluationContext,
_evaluationLoggingContext
);
247
_expander = new Expander<P, I>(data, data, _evaluationContext,
_evaluationLoggingContext
);
350
evaluator.
_evaluationLoggingContext
.LogErrorFromText(null, null, null, new BuildEventFileInfo(root.ProjectFileLocation.File),
359
if (evaluator.
_evaluationLoggingContext
.LoggingService.IncludeEvaluationPropertiesAndItemsInEvaluationFinishedEvent)
366
evaluator.
_evaluationLoggingContext
.LogProjectEvaluationFinished(globalProperties, properties, items, evaluator._evaluationProfiler.ProfiledResult);
633
_data.EvaluationId =
_evaluationLoggingContext
.BuildEventContext.EvaluationId;
634
_evaluationLoggingContext
.LogProjectEvaluationStarted();
638
AssemblyLoadsTracker.StartTracking(
_evaluationLoggingContext
, AssemblyLoadingContext.Evaluation);
699
lazyEvaluator = new LazyItemEvaluator<P, I, M, D>(_data, _itemFactory,
_evaluationLoggingContext
, _evaluationProfiler, _evaluationContext);
745
_evaluationLoggingContext
,
1052
_evaluationLoggingContext
.LogComment(MessageImportance.Low, "OverridingTarget", otherTarget.Name, otherTarget.Location.File, targetName, targetElement.Location.File);
1091
_evaluationLoggingContext
.LogComment(MessageImportance.Low, "TargetDoesNotExistBeforeTargetMessage", unescapedBeforeTarget, targetElement.BeforeTargetsLocation.LocationString);
1114
_evaluationLoggingContext
.LogComment(MessageImportance.Low, "TargetDoesNotExistAfterTargetMessage", unescapedAfterTarget, targetElement.AfterTargetsLocation.LocationString);
1126
_evaluationLoggingContext
.LogWarning("", new BuildEventFileInfo(""), "ChangeWave_InvalidFormat", Traits.Instance.MSBuildDisableFeaturesFromVersion, $"[{string.Join(", ", ChangeWaves.AllWaves.Select(x => x.ToString()))}]");
1129
_evaluationLoggingContext
.LogWarning("", new BuildEventFileInfo(""), "ChangeWave_OutOfRotation", ChangeWaves.DisabledWave, Traits.Instance.MSBuildDisableFeaturesFromVersion, $"[{string.Join(", ", ChangeWaves.AllWaves.Select(x => x.ToString()))}]");
1212
_data.SetProperty(environmentProperty.Name, ((IProperty)environmentProperty).EvaluatedValueEscaped, isGlobalProperty: false, mayBeReserved: false, isEnvironmentVariable: true, loggingContext:
_evaluationLoggingContext
);
1223
_data.SetProperty(toolsetProperty.Name, ((IProperty)toolsetProperty).EvaluatedValueEscaped, false /* NOT global property */, false /* may NOT be a reserved name */, loggingContext:
_evaluationLoggingContext
);
1232
_data.SetProperty(Constants.VisualStudioVersionPropertyName, MSBuildConstants.CurrentVisualStudioVersion, false /* NOT global property */, false /* may NOT be a reserved name */, loggingContext:
_evaluationLoggingContext
);
1242
_data.SetProperty(Constants.SubToolsetVersionPropertyName, _data.SubToolsetVersion, false /* NOT global property */, false /* may NOT be a reserved name */, loggingContext:
_evaluationLoggingContext
);
1249
_data.SetProperty(subToolsetProperty.Name, ((IProperty)subToolsetProperty).EvaluatedValueEscaped, false /* NOT global property */, false /* may NOT be a reserved name */, loggingContext:
_evaluationLoggingContext
);
1272
loggingContext:
_evaluationLoggingContext
,
1287
P property = _data.SetProperty(name, evaluatedValueEscaped, false /* NOT global property */, true /* OK to be a reserved name */, loggingContext:
_evaluationLoggingContext
);
1305
_evaluationLoggingContext
.LogComment(MessageImportance.Low, "OM_GlobalProperty", propertyElement.Name);
1323
_expander.PropertiesUseTracker.CheckPreexistingUndefinedUsage(propertyElement, evaluatedValue,
_evaluationLoggingContext
);
1325
_data.SetProperty(propertyElement, evaluatedValue,
_evaluationLoggingContext
);
1580
_evaluationLoggingContext
.LogComment(MessageImportance.Low, "SearchPathsForMSBuildExtensionsPath",
1623
_evaluationLoggingContext
.LogComment(MessageImportance.Low, "TryingExtensionsPath", newExpandedImportPath, extensionPathExpanded);
1723
BuildEventContext =
_evaluationLoggingContext
.BuildEventContext,
1728
_evaluationLoggingContext
.LogBuildEvent(eventArgs);
1808
using var assemblyLoadsTracker = AssemblyLoadsTracker.StartTracking(
_evaluationLoggingContext
, AssemblyLoadingContext.SdkResolution, _sdkResolverService.GetType());
1813
_evaluationLoggingContext
,
1837
BuildEventContext =
_evaluationLoggingContext
.BuildEventContext,
1844
_evaluationLoggingContext
.LogBuildEvent(eventArgs);
2041
BuildEventContext =
_evaluationLoggingContext
.BuildEventContext,
2048
_evaluationLoggingContext
.LogBuildEvent(eventArgs);
2078
loggingMechanism:
_evaluationLoggingContext
,
2102
BuildEventContext =
_evaluationLoggingContext
.BuildEventContext,
2107
_evaluationLoggingContext
.LogBuildEvent(eventArgs);
2135
_evaluationLoggingContext
.LogWarning(null, new BuildEventFileInfo(importLocationInProject), "SelfImport", importFileUnescaped);
2152
_evaluationLoggingContext
.LogWarning(null, new BuildEventFileInfo(importLocationInProject), "ImportIntroducesCircularity", importFileUnescaped, importedBy);
2179
_evaluationLoggingContext
.LogWarning(null, new BuildEventFileInfo(importLocationInProject), "DuplicateImport", importFileUnescaped, previouslyImportedAt.Location.LocationString, parenthesizedProjectLocation);
2243
BuildEventContext =
_evaluationLoggingContext
.BuildEventContext,
2249
_evaluationLoggingContext
.LogBuildEvent(eventArgs);
2274
BuildEventContext =
_evaluationLoggingContext
.BuildEventContext,
2281
_evaluationLoggingContext
.LogBuildEvent(eventArgs);
2329
BuildEventContext =
_evaluationLoggingContext
.BuildEventContext,
2336
_evaluationLoggingContext
.LogBuildEvent(eventArgs);
2449
loggingContext:
_evaluationLoggingContext
);
2486
_evaluationLoggingContext
,
2625
loggingContext:
_evaluationLoggingContext
);