1 write to _evaluationLoggingContext
Microsoft.Build (1)
Evaluation\Evaluator.cs (1)
240
_evaluationLoggingContext
= new EvaluationLoggingContext(
52 references to _evaluationLoggingContext
Microsoft.Build (52)
Evaluation\Evaluator.cs (52)
246
data = new PropertyTrackingEvaluatorDataWrapper<P, I, M, D>(data,
_evaluationLoggingContext
, Traits.Instance.LogPropertyTracking);
250
IDirectoryCache directoryCache = directoryCacheFactory?.GetDirectoryCacheForEvaluation(
_evaluationLoggingContext
.BuildEventContext.EvaluationId);
258
data.InitializeForEvaluation(toolsetProvider, _evaluationContext,
_evaluationLoggingContext
);
260
_expander = new Expander<P, I>(data, data, _evaluationContext,
_evaluationLoggingContext
);
366
evaluator.
_evaluationLoggingContext
.LogErrorFromText(null, null, null, new BuildEventFileInfo(root.ProjectFileLocation.File),
375
if (evaluator.
_evaluationLoggingContext
.LoggingService.IncludeEvaluationPropertiesAndItemsInEvaluationFinishedEvent)
382
evaluator.
_evaluationLoggingContext
.LogProjectEvaluationFinished(globalProperties, properties, items, evaluator._evaluationProfiler.ProfiledResult);
649
_data.EvaluationId =
_evaluationLoggingContext
.BuildEventContext.EvaluationId;
650
_evaluationLoggingContext
.LogProjectEvaluationStarted();
654
AssemblyLoadsTracker.StartTracking(
_evaluationLoggingContext
, AssemblyLoadingContext.Evaluation);
729
lazyEvaluator = new LazyItemEvaluator<P, I, M, D>(_data, _itemFactory,
_evaluationLoggingContext
, _evaluationProfiler, _evaluationContext);
784
_evaluationLoggingContext
,
1098
_evaluationLoggingContext
.LogComment(MessageImportance.Low, "OverridingTarget", otherTarget.Name, otherTarget.Location.File, targetName, targetElement.Location.File);
1137
_evaluationLoggingContext
.LogComment(MessageImportance.Low, "TargetDoesNotExistBeforeTargetMessage", unescapedBeforeTarget, targetElement.BeforeTargetsLocation.LocationString);
1160
_evaluationLoggingContext
.LogComment(MessageImportance.Low, "TargetDoesNotExistAfterTargetMessage", unescapedAfterTarget, targetElement.AfterTargetsLocation.LocationString);
1172
_evaluationLoggingContext
.LogWarning("", new BuildEventFileInfo(""), "ChangeWave_InvalidFormat", Traits.Instance.MSBuildDisableFeaturesFromVersion, $"[{string.Join(", ", ChangeWaves.AllWaves.Select(x => x.ToString()))}]");
1175
_evaluationLoggingContext
.LogWarning("", new BuildEventFileInfo(""), "ChangeWave_OutOfRotation", ChangeWaves.DisabledWave, Traits.Instance.MSBuildDisableFeaturesFromVersion, $"[{string.Join(", ", ChangeWaves.AllWaves.Select(x => x.ToString()))}]");
1258
_data.SetProperty(environmentProperty.Name, ((IProperty)environmentProperty).EvaluatedValueEscaped, isGlobalProperty: false, mayBeReserved: false, isEnvironmentVariable: true, loggingContext:
_evaluationLoggingContext
);
1269
_data.SetProperty(toolsetProperty.Name, ((IProperty)toolsetProperty).EvaluatedValueEscaped, false /* NOT global property */, false /* may NOT be a reserved name */, loggingContext:
_evaluationLoggingContext
);
1278
_data.SetProperty(Constants.VisualStudioVersionPropertyName, MSBuildConstants.CurrentVisualStudioVersion, false /* NOT global property */, false /* may NOT be a reserved name */, loggingContext:
_evaluationLoggingContext
);
1288
_data.SetProperty(Constants.SubToolsetVersionPropertyName, _data.SubToolsetVersion, false /* NOT global property */, false /* may NOT be a reserved name */, loggingContext:
_evaluationLoggingContext
);
1295
_data.SetProperty(subToolsetProperty.Name, ((IProperty)subToolsetProperty).EvaluatedValueEscaped, false /* NOT global property */, false /* may NOT be a reserved name */, loggingContext:
_evaluationLoggingContext
);
1318
loggingContext:
_evaluationLoggingContext
,
1333
P property = _data.SetProperty(name, evaluatedValueEscaped, false /* NOT global property */, true /* OK to be a reserved name */, loggingContext:
_evaluationLoggingContext
);
1351
_evaluationLoggingContext
.LogComment(MessageImportance.Low, "OM_GlobalProperty", propertyElement.Name);
1369
_expander.PropertiesUseTracker.CheckPreexistingUndefinedUsage(propertyElement, evaluatedValue,
_evaluationLoggingContext
);
1371
_data.SetProperty(propertyElement, evaluatedValue,
_evaluationLoggingContext
);
1629
_evaluationLoggingContext
.LogComment(MessageImportance.Low, "SearchPathsForMSBuildExtensionsPath",
1672
_evaluationLoggingContext
.LogComment(MessageImportance.Low, "TryingExtensionsPath", newExpandedImportPath, extensionPathExpanded);
1772
BuildEventContext =
_evaluationLoggingContext
.BuildEventContext,
1777
_evaluationLoggingContext
.LogBuildEvent(eventArgs);
1857
using var assemblyLoadsTracker = AssemblyLoadsTracker.StartTracking(
_evaluationLoggingContext
, AssemblyLoadingContext.SdkResolution, _sdkResolverService.GetType());
1862
_evaluationLoggingContext
,
1886
BuildEventContext =
_evaluationLoggingContext
.BuildEventContext,
1893
_evaluationLoggingContext
.LogBuildEvent(eventArgs);
2090
BuildEventContext =
_evaluationLoggingContext
.BuildEventContext,
2097
_evaluationLoggingContext
.LogBuildEvent(eventArgs);
2127
loggingMechanism:
_evaluationLoggingContext
,
2151
BuildEventContext =
_evaluationLoggingContext
.BuildEventContext,
2156
_evaluationLoggingContext
.LogBuildEvent(eventArgs);
2184
_evaluationLoggingContext
.LogWarning(null, new BuildEventFileInfo(importLocationInProject), "SelfImport", importFileUnescaped);
2201
_evaluationLoggingContext
.LogWarning(null, new BuildEventFileInfo(importLocationInProject), "ImportIntroducesCircularity", importFileUnescaped, importedBy);
2228
_evaluationLoggingContext
.LogWarning(null, new BuildEventFileInfo(importLocationInProject), "DuplicateImport", importFileUnescaped, previouslyImportedAt.Location.LocationString, parenthesizedProjectLocation);
2292
BuildEventContext =
_evaluationLoggingContext
.BuildEventContext,
2298
_evaluationLoggingContext
.LogBuildEvent(eventArgs);
2323
BuildEventContext =
_evaluationLoggingContext
.BuildEventContext,
2330
_evaluationLoggingContext
.LogBuildEvent(eventArgs);
2378
BuildEventContext =
_evaluationLoggingContext
.BuildEventContext,
2385
_evaluationLoggingContext
.LogBuildEvent(eventArgs);
2498
loggingContext:
_evaluationLoggingContext
);
2535
_evaluationLoggingContext
,
2674
loggingContext:
_evaluationLoggingContext
);