1 write to _evaluationLoggingContext
Microsoft.Build (1)
Evaluation\Evaluator.cs (1)
234
_evaluationLoggingContext
= new EvaluationLoggingContext(
52 references to _evaluationLoggingContext
Microsoft.Build (52)
Evaluation\Evaluator.cs (52)
240
data = new PropertyTrackingEvaluatorDataWrapper<P, I, M, D>(data,
_evaluationLoggingContext
, Traits.Instance.LogPropertyTracking);
244
IDirectoryCache directoryCache = directoryCacheFactory?.GetDirectoryCacheForEvaluation(
_evaluationLoggingContext
.BuildEventContext.EvaluationId);
252
data.InitializeForEvaluation(toolsetProvider, _evaluationContext,
_evaluationLoggingContext
);
254
_expander = new Expander<P, I>(data, data, _evaluationContext,
_evaluationLoggingContext
);
357
evaluator.
_evaluationLoggingContext
.LogErrorFromText(null, null, null, new BuildEventFileInfo(root.ProjectFileLocation.File),
366
if (evaluator.
_evaluationLoggingContext
.LoggingService.IncludeEvaluationPropertiesAndItemsInEvaluationFinishedEvent)
373
evaluator.
_evaluationLoggingContext
.LogProjectEvaluationFinished(globalProperties, properties, items, evaluator._evaluationProfiler.ProfiledResult);
640
_data.EvaluationId =
_evaluationLoggingContext
.BuildEventContext.EvaluationId;
641
_evaluationLoggingContext
.LogProjectEvaluationStarted();
645
AssemblyLoadsTracker.StartTracking(
_evaluationLoggingContext
, AssemblyLoadingContext.Evaluation);
706
lazyEvaluator = new LazyItemEvaluator<P, I, M, D>(_data, _itemFactory,
_evaluationLoggingContext
, _evaluationProfiler, _evaluationContext);
755
_evaluationLoggingContext
,
1062
_evaluationLoggingContext
.LogComment(MessageImportance.Low, "OverridingTarget", otherTarget.Name, otherTarget.Location.File, targetName, targetElement.Location.File);
1101
_evaluationLoggingContext
.LogComment(MessageImportance.Low, "TargetDoesNotExistBeforeTargetMessage", unescapedBeforeTarget, targetElement.BeforeTargetsLocation.LocationString);
1124
_evaluationLoggingContext
.LogComment(MessageImportance.Low, "TargetDoesNotExistAfterTargetMessage", unescapedAfterTarget, targetElement.AfterTargetsLocation.LocationString);
1136
_evaluationLoggingContext
.LogWarning("", new BuildEventFileInfo(""), "ChangeWave_InvalidFormat", Traits.Instance.MSBuildDisableFeaturesFromVersion, $"[{string.Join(", ", ChangeWaves.AllWaves.Select(x => x.ToString()))}]");
1139
_evaluationLoggingContext
.LogWarning("", new BuildEventFileInfo(""), "ChangeWave_OutOfRotation", ChangeWaves.DisabledWave, Traits.Instance.MSBuildDisableFeaturesFromVersion, $"[{string.Join(", ", ChangeWaves.AllWaves.Select(x => x.ToString()))}]");
1222
_data.SetProperty(environmentProperty.Name, ((IProperty)environmentProperty).EvaluatedValueEscaped, isGlobalProperty: false, mayBeReserved: false, isEnvironmentVariable: true, loggingContext:
_evaluationLoggingContext
);
1233
_data.SetProperty(toolsetProperty.Name, ((IProperty)toolsetProperty).EvaluatedValueEscaped, false /* NOT global property */, false /* may NOT be a reserved name */, loggingContext:
_evaluationLoggingContext
);
1242
_data.SetProperty(Constants.VisualStudioVersionPropertyName, MSBuildConstants.CurrentVisualStudioVersion, false /* NOT global property */, false /* may NOT be a reserved name */, loggingContext:
_evaluationLoggingContext
);
1252
_data.SetProperty(Constants.SubToolsetVersionPropertyName, _data.SubToolsetVersion, false /* NOT global property */, false /* may NOT be a reserved name */, loggingContext:
_evaluationLoggingContext
);
1259
_data.SetProperty(subToolsetProperty.Name, ((IProperty)subToolsetProperty).EvaluatedValueEscaped, false /* NOT global property */, false /* may NOT be a reserved name */, loggingContext:
_evaluationLoggingContext
);
1282
loggingContext:
_evaluationLoggingContext
,
1297
P property = _data.SetProperty(name, evaluatedValueEscaped, false /* NOT global property */, true /* OK to be a reserved name */, loggingContext:
_evaluationLoggingContext
);
1315
_evaluationLoggingContext
.LogComment(MessageImportance.Low, "OM_GlobalProperty", propertyElement.Name);
1333
_expander.PropertiesUseTracker.CheckPreexistingUndefinedUsage(propertyElement, evaluatedValue,
_evaluationLoggingContext
);
1335
_data.SetProperty(propertyElement, evaluatedValue,
_evaluationLoggingContext
);
1593
_evaluationLoggingContext
.LogComment(MessageImportance.Low, "SearchPathsForMSBuildExtensionsPath",
1636
_evaluationLoggingContext
.LogComment(MessageImportance.Low, "TryingExtensionsPath", newExpandedImportPath, extensionPathExpanded);
1736
BuildEventContext =
_evaluationLoggingContext
.BuildEventContext,
1741
_evaluationLoggingContext
.LogBuildEvent(eventArgs);
1821
using var assemblyLoadsTracker = AssemblyLoadsTracker.StartTracking(
_evaluationLoggingContext
, AssemblyLoadingContext.SdkResolution, _sdkResolverService.GetType());
1826
_evaluationLoggingContext
,
1850
BuildEventContext =
_evaluationLoggingContext
.BuildEventContext,
1857
_evaluationLoggingContext
.LogBuildEvent(eventArgs);
2054
BuildEventContext =
_evaluationLoggingContext
.BuildEventContext,
2061
_evaluationLoggingContext
.LogBuildEvent(eventArgs);
2091
loggingMechanism:
_evaluationLoggingContext
,
2115
BuildEventContext =
_evaluationLoggingContext
.BuildEventContext,
2120
_evaluationLoggingContext
.LogBuildEvent(eventArgs);
2148
_evaluationLoggingContext
.LogWarning(null, new BuildEventFileInfo(importLocationInProject), "SelfImport", importFileUnescaped);
2165
_evaluationLoggingContext
.LogWarning(null, new BuildEventFileInfo(importLocationInProject), "ImportIntroducesCircularity", importFileUnescaped, importedBy);
2192
_evaluationLoggingContext
.LogWarning(null, new BuildEventFileInfo(importLocationInProject), "DuplicateImport", importFileUnescaped, previouslyImportedAt.Location.LocationString, parenthesizedProjectLocation);
2256
BuildEventContext =
_evaluationLoggingContext
.BuildEventContext,
2262
_evaluationLoggingContext
.LogBuildEvent(eventArgs);
2287
BuildEventContext =
_evaluationLoggingContext
.BuildEventContext,
2294
_evaluationLoggingContext
.LogBuildEvent(eventArgs);
2342
BuildEventContext =
_evaluationLoggingContext
.BuildEventContext,
2349
_evaluationLoggingContext
.LogBuildEvent(eventArgs);
2462
loggingContext:
_evaluationLoggingContext
);
2499
_evaluationLoggingContext
,
2638
loggingContext:
_evaluationLoggingContext
);