1 write to _evaluationLoggingContext
Microsoft.Build (1)
Evaluation\Evaluator.cs (1)
222
_evaluationLoggingContext
= new EvaluationLoggingContext(
51 references to _evaluationLoggingContext
Microsoft.Build (51)
Evaluation\Evaluator.cs (51)
228
data = new PropertyTrackingEvaluatorDataWrapper<P, I, M, D>(data,
_evaluationLoggingContext
, Traits.Instance.LogPropertyTracking);
232
IDirectoryCache directoryCache = directoryCacheFactory?.GetDirectoryCacheForEvaluation(
_evaluationLoggingContext
.BuildEventContext.EvaluationId);
240
data.InitializeForEvaluation(toolsetProvider, _evaluationContext,
_evaluationLoggingContext
);
242
_expander = new Expander<P, I>(data, data, _evaluationContext,
_evaluationLoggingContext
);
346
if (evaluator.
_evaluationLoggingContext
.LoggingService.IncludeEvaluationPropertiesAndItemsInEvaluationFinishedEvent)
353
evaluator.
_evaluationLoggingContext
.LogProjectEvaluationFinished(globalProperties, properties, items, evaluator._evaluationProfiler.ProfiledResult);
620
_data.EvaluationId =
_evaluationLoggingContext
.BuildEventContext.EvaluationId;
621
_evaluationLoggingContext
.LogProjectEvaluationStarted();
625
AssemblyLoadsTracker.StartTracking(
_evaluationLoggingContext
, AssemblyLoadingContext.Evaluation);
686
lazyEvaluator = new LazyItemEvaluator<P, I, M, D>(_data, _itemFactory,
_evaluationLoggingContext
, _evaluationProfiler, _evaluationContext);
732
_evaluationLoggingContext
,
1039
_evaluationLoggingContext
.LogComment(MessageImportance.Low, "OverridingTarget", otherTarget.Name, otherTarget.Location.File, targetName, targetElement.Location.File);
1078
_evaluationLoggingContext
.LogComment(MessageImportance.Low, "TargetDoesNotExistBeforeTargetMessage", unescapedBeforeTarget, targetElement.BeforeTargetsLocation.LocationString);
1101
_evaluationLoggingContext
.LogComment(MessageImportance.Low, "TargetDoesNotExistAfterTargetMessage", unescapedAfterTarget, targetElement.AfterTargetsLocation.LocationString);
1113
_evaluationLoggingContext
.LogWarning("", new BuildEventFileInfo(""), "ChangeWave_InvalidFormat", Traits.Instance.MSBuildDisableFeaturesFromVersion, $"[{String.Join(", ", ChangeWaves.AllWaves.Select(x => x.ToString()))}]");
1116
_evaluationLoggingContext
.LogWarning("", new BuildEventFileInfo(""), "ChangeWave_OutOfRotation", ChangeWaves.DisabledWave, Traits.Instance.MSBuildDisableFeaturesFromVersion, $"[{String.Join(", ", ChangeWaves.AllWaves.Select(x => x.ToString()))}]");
1199
_data.SetProperty(environmentProperty.Name, ((IProperty)environmentProperty).EvaluatedValueEscaped, isGlobalProperty: false, mayBeReserved: false, isEnvironmentVariable: true, loggingContext:
_evaluationLoggingContext
);
1210
_data.SetProperty(toolsetProperty.Name, ((IProperty)toolsetProperty).EvaluatedValueEscaped, false /* NOT global property */, false /* may NOT be a reserved name */, loggingContext:
_evaluationLoggingContext
);
1219
_data.SetProperty(Constants.VisualStudioVersionPropertyName, MSBuildConstants.CurrentVisualStudioVersion, false /* NOT global property */, false /* may NOT be a reserved name */, loggingContext:
_evaluationLoggingContext
);
1229
_data.SetProperty(Constants.SubToolsetVersionPropertyName, _data.SubToolsetVersion, false /* NOT global property */, false /* may NOT be a reserved name */, loggingContext:
_evaluationLoggingContext
);
1236
_data.SetProperty(subToolsetProperty.Name, ((IProperty)subToolsetProperty).EvaluatedValueEscaped, false /* NOT global property */, false /* may NOT be a reserved name */, loggingContext:
_evaluationLoggingContext
);
1254
_data.SetProperty(globalProperty.Name, ((IProperty)globalProperty).EvaluatedValueEscaped, true /* IS global property */, false /* may NOT be a reserved name */, loggingContext:
_evaluationLoggingContext
);
1268
P property = _data.SetProperty(name, evaluatedValueEscaped, false /* NOT global property */, true /* OK to be a reserved name */, loggingContext:
_evaluationLoggingContext
);
1286
_evaluationLoggingContext
.LogComment(MessageImportance.Low, "OM_GlobalProperty", propertyElement.Name);
1304
_expander.PropertiesUseTracker.CheckPreexistingUndefinedUsage(propertyElement, evaluatedValue,
_evaluationLoggingContext
);
1306
_data.SetProperty(propertyElement, evaluatedValue,
_evaluationLoggingContext
);
1561
_evaluationLoggingContext
.LogComment(MessageImportance.Low, "SearchPathsForMSBuildExtensionsPath",
1604
_evaluationLoggingContext
.LogComment(MessageImportance.Low, "TryingExtensionsPath", newExpandedImportPath, extensionPathExpanded);
1704
BuildEventContext =
_evaluationLoggingContext
.BuildEventContext,
1709
_evaluationLoggingContext
.LogBuildEvent(eventArgs);
1789
using var assemblyLoadsTracker = AssemblyLoadsTracker.StartTracking(
_evaluationLoggingContext
, AssemblyLoadingContext.SdkResolution, _sdkResolverService.GetType());
1791
sdkResult = _sdkResolverService.ResolveSdk(_submissionId, sdkReference,
_evaluationLoggingContext
, importElement.Location, solutionPath, projectPath, _interactive, _isRunningInVisualStudio,
1811
BuildEventContext =
_evaluationLoggingContext
.BuildEventContext,
1818
_evaluationLoggingContext
.LogBuildEvent(eventArgs);
1990
BuildEventContext =
_evaluationLoggingContext
.BuildEventContext,
1997
_evaluationLoggingContext
.LogBuildEvent(eventArgs);
2027
loggingMechanism:
_evaluationLoggingContext
,
2051
BuildEventContext =
_evaluationLoggingContext
.BuildEventContext,
2056
_evaluationLoggingContext
.LogBuildEvent(eventArgs);
2084
_evaluationLoggingContext
.LogWarning(null, new BuildEventFileInfo(importLocationInProject), "SelfImport", importFileUnescaped);
2101
_evaluationLoggingContext
.LogWarning(null, new BuildEventFileInfo(importLocationInProject), "ImportIntroducesCircularity", importFileUnescaped, importedBy);
2128
_evaluationLoggingContext
.LogWarning(null, new BuildEventFileInfo(importLocationInProject), "DuplicateImport", importFileUnescaped, previouslyImportedAt.Location.LocationString, parenthesizedProjectLocation);
2192
BuildEventContext =
_evaluationLoggingContext
.BuildEventContext,
2198
_evaluationLoggingContext
.LogBuildEvent(eventArgs);
2223
BuildEventContext =
_evaluationLoggingContext
.BuildEventContext,
2230
_evaluationLoggingContext
.LogBuildEvent(eventArgs);
2278
BuildEventContext =
_evaluationLoggingContext
.BuildEventContext,
2285
_evaluationLoggingContext
.LogBuildEvent(eventArgs);
2398
loggingContext:
_evaluationLoggingContext
);
2435
_evaluationLoggingContext
,
2574
loggingContext:
_evaluationLoggingContext
);