1 write to _evaluationLoggingContext
Microsoft.Build (1)
Evaluation\Evaluator.cs (1)
227
_evaluationLoggingContext
= new EvaluationLoggingContext(
51 references to _evaluationLoggingContext
Microsoft.Build (51)
Evaluation\Evaluator.cs (51)
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
);
354
if (evaluator.
_evaluationLoggingContext
.LoggingService.IncludeEvaluationPropertiesAndItemsInEvaluationFinishedEvent)
361
evaluator.
_evaluationLoggingContext
.LogProjectEvaluationFinished(globalProperties, properties, items, evaluator._evaluationProfiler.ProfiledResult);
628
_data.EvaluationId =
_evaluationLoggingContext
.BuildEventContext.EvaluationId;
629
_evaluationLoggingContext
.LogProjectEvaluationStarted();
633
AssemblyLoadsTracker.StartTracking(
_evaluationLoggingContext
, AssemblyLoadingContext.Evaluation);
694
lazyEvaluator = new LazyItemEvaluator<P, I, M, D>(_data, _itemFactory,
_evaluationLoggingContext
, _evaluationProfiler, _evaluationContext);
740
_evaluationLoggingContext
,
1047
_evaluationLoggingContext
.LogComment(MessageImportance.Low, "OverridingTarget", otherTarget.Name, otherTarget.Location.File, targetName, targetElement.Location.File);
1086
_evaluationLoggingContext
.LogComment(MessageImportance.Low, "TargetDoesNotExistBeforeTargetMessage", unescapedBeforeTarget, targetElement.BeforeTargetsLocation.LocationString);
1109
_evaluationLoggingContext
.LogComment(MessageImportance.Low, "TargetDoesNotExistAfterTargetMessage", unescapedAfterTarget, targetElement.AfterTargetsLocation.LocationString);
1121
_evaluationLoggingContext
.LogWarning("", new BuildEventFileInfo(""), "ChangeWave_InvalidFormat", Traits.Instance.MSBuildDisableFeaturesFromVersion, $"[{String.Join(", ", ChangeWaves.AllWaves.Select(x => x.ToString()))}]");
1124
_evaluationLoggingContext
.LogWarning("", new BuildEventFileInfo(""), "ChangeWave_OutOfRotation", ChangeWaves.DisabledWave, Traits.Instance.MSBuildDisableFeaturesFromVersion, $"[{String.Join(", ", ChangeWaves.AllWaves.Select(x => x.ToString()))}]");
1207
_data.SetProperty(environmentProperty.Name, ((IProperty)environmentProperty).EvaluatedValueEscaped, isGlobalProperty: false, mayBeReserved: false, isEnvironmentVariable: true, loggingContext:
_evaluationLoggingContext
);
1218
_data.SetProperty(toolsetProperty.Name, ((IProperty)toolsetProperty).EvaluatedValueEscaped, false /* NOT global property */, false /* may NOT be a reserved name */, loggingContext:
_evaluationLoggingContext
);
1227
_data.SetProperty(Constants.VisualStudioVersionPropertyName, MSBuildConstants.CurrentVisualStudioVersion, false /* NOT global property */, false /* may NOT be a reserved name */, loggingContext:
_evaluationLoggingContext
);
1237
_data.SetProperty(Constants.SubToolsetVersionPropertyName, _data.SubToolsetVersion, false /* NOT global property */, false /* may NOT be a reserved name */, loggingContext:
_evaluationLoggingContext
);
1244
_data.SetProperty(subToolsetProperty.Name, ((IProperty)subToolsetProperty).EvaluatedValueEscaped, false /* NOT global property */, false /* may NOT be a reserved name */, loggingContext:
_evaluationLoggingContext
);
1267
loggingContext:
_evaluationLoggingContext
,
1282
P property = _data.SetProperty(name, evaluatedValueEscaped, false /* NOT global property */, true /* OK to be a reserved name */, loggingContext:
_evaluationLoggingContext
);
1300
_evaluationLoggingContext
.LogComment(MessageImportance.Low, "OM_GlobalProperty", propertyElement.Name);
1318
_expander.PropertiesUseTracker.CheckPreexistingUndefinedUsage(propertyElement, evaluatedValue,
_evaluationLoggingContext
);
1320
_data.SetProperty(propertyElement, evaluatedValue,
_evaluationLoggingContext
);
1575
_evaluationLoggingContext
.LogComment(MessageImportance.Low, "SearchPathsForMSBuildExtensionsPath",
1618
_evaluationLoggingContext
.LogComment(MessageImportance.Low, "TryingExtensionsPath", newExpandedImportPath, extensionPathExpanded);
1718
BuildEventContext =
_evaluationLoggingContext
.BuildEventContext,
1723
_evaluationLoggingContext
.LogBuildEvent(eventArgs);
1803
using var assemblyLoadsTracker = AssemblyLoadsTracker.StartTracking(
_evaluationLoggingContext
, AssemblyLoadingContext.SdkResolution, _sdkResolverService.GetType());
1805
sdkResult = _sdkResolverService.ResolveSdk(_submissionId, sdkReference,
_evaluationLoggingContext
, importElement.Location, solutionPath, projectPath, _interactive, _isRunningInVisualStudio,
1825
BuildEventContext =
_evaluationLoggingContext
.BuildEventContext,
1832
_evaluationLoggingContext
.LogBuildEvent(eventArgs);
2004
BuildEventContext =
_evaluationLoggingContext
.BuildEventContext,
2011
_evaluationLoggingContext
.LogBuildEvent(eventArgs);
2041
loggingMechanism:
_evaluationLoggingContext
,
2065
BuildEventContext =
_evaluationLoggingContext
.BuildEventContext,
2070
_evaluationLoggingContext
.LogBuildEvent(eventArgs);
2098
_evaluationLoggingContext
.LogWarning(null, new BuildEventFileInfo(importLocationInProject), "SelfImport", importFileUnescaped);
2115
_evaluationLoggingContext
.LogWarning(null, new BuildEventFileInfo(importLocationInProject), "ImportIntroducesCircularity", importFileUnescaped, importedBy);
2142
_evaluationLoggingContext
.LogWarning(null, new BuildEventFileInfo(importLocationInProject), "DuplicateImport", importFileUnescaped, previouslyImportedAt.Location.LocationString, parenthesizedProjectLocation);
2206
BuildEventContext =
_evaluationLoggingContext
.BuildEventContext,
2212
_evaluationLoggingContext
.LogBuildEvent(eventArgs);
2237
BuildEventContext =
_evaluationLoggingContext
.BuildEventContext,
2244
_evaluationLoggingContext
.LogBuildEvent(eventArgs);
2292
BuildEventContext =
_evaluationLoggingContext
.BuildEventContext,
2299
_evaluationLoggingContext
.LogBuildEvent(eventArgs);
2412
loggingContext:
_evaluationLoggingContext
);
2449
_evaluationLoggingContext
,
2588
loggingContext:
_evaluationLoggingContext
);