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());
1810
sdkResult = _sdkResolverService.ResolveSdk(_submissionId, sdkReference,
_evaluationLoggingContext
, importElement.Location, solutionPath, projectPath, _interactive, _isRunningInVisualStudio,
1830
BuildEventContext =
_evaluationLoggingContext
.BuildEventContext,
1837
_evaluationLoggingContext
.LogBuildEvent(eventArgs);
2012
BuildEventContext =
_evaluationLoggingContext
.BuildEventContext,
2019
_evaluationLoggingContext
.LogBuildEvent(eventArgs);
2049
loggingMechanism:
_evaluationLoggingContext
,
2073
BuildEventContext =
_evaluationLoggingContext
.BuildEventContext,
2078
_evaluationLoggingContext
.LogBuildEvent(eventArgs);
2106
_evaluationLoggingContext
.LogWarning(null, new BuildEventFileInfo(importLocationInProject), "SelfImport", importFileUnescaped);
2123
_evaluationLoggingContext
.LogWarning(null, new BuildEventFileInfo(importLocationInProject), "ImportIntroducesCircularity", importFileUnescaped, importedBy);
2150
_evaluationLoggingContext
.LogWarning(null, new BuildEventFileInfo(importLocationInProject), "DuplicateImport", importFileUnescaped, previouslyImportedAt.Location.LocationString, parenthesizedProjectLocation);
2214
BuildEventContext =
_evaluationLoggingContext
.BuildEventContext,
2220
_evaluationLoggingContext
.LogBuildEvent(eventArgs);
2245
BuildEventContext =
_evaluationLoggingContext
.BuildEventContext,
2252
_evaluationLoggingContext
.LogBuildEvent(eventArgs);
2300
BuildEventContext =
_evaluationLoggingContext
.BuildEventContext,
2307
_evaluationLoggingContext
.LogBuildEvent(eventArgs);
2420
loggingContext:
_evaluationLoggingContext
);
2457
_evaluationLoggingContext
,
2596
loggingContext:
_evaluationLoggingContext
);