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)
240data = new PropertyTrackingEvaluatorDataWrapper<P, I, M, D>(data, _evaluationLoggingContext, Traits.Instance.LogPropertyTracking); 244IDirectoryCache directoryCache = directoryCacheFactory?.GetDirectoryCacheForEvaluation(_evaluationLoggingContext.BuildEventContext.EvaluationId); 252data.InitializeForEvaluation(toolsetProvider, _evaluationContext, _evaluationLoggingContext); 254_expander = new Expander<P, I>(data, data, _evaluationContext, _evaluationLoggingContext); 357evaluator._evaluationLoggingContext.LogErrorFromText(null, null, null, new BuildEventFileInfo(root.ProjectFileLocation.File), 366if (evaluator._evaluationLoggingContext.LoggingService.IncludeEvaluationPropertiesAndItemsInEvaluationFinishedEvent) 373evaluator._evaluationLoggingContext.LogProjectEvaluationFinished(globalProperties, properties, items, evaluator._evaluationProfiler.ProfiledResult); 640_data.EvaluationId = _evaluationLoggingContext.BuildEventContext.EvaluationId; 641_evaluationLoggingContext.LogProjectEvaluationStarted(); 645AssemblyLoadsTracker.StartTracking(_evaluationLoggingContext, AssemblyLoadingContext.Evaluation); 706lazyEvaluator = 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); 1282loggingContext: _evaluationLoggingContext, 1297P 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); 1736BuildEventContext = _evaluationLoggingContext.BuildEventContext, 1741_evaluationLoggingContext.LogBuildEvent(eventArgs); 1821using var assemblyLoadsTracker = AssemblyLoadsTracker.StartTracking(_evaluationLoggingContext, AssemblyLoadingContext.SdkResolution, _sdkResolverService.GetType()); 1826_evaluationLoggingContext, 1850BuildEventContext = _evaluationLoggingContext.BuildEventContext, 1857_evaluationLoggingContext.LogBuildEvent(eventArgs); 2054BuildEventContext = _evaluationLoggingContext.BuildEventContext, 2061_evaluationLoggingContext.LogBuildEvent(eventArgs); 2091loggingMechanism: _evaluationLoggingContext, 2115BuildEventContext = _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); 2256BuildEventContext = _evaluationLoggingContext.BuildEventContext, 2262_evaluationLoggingContext.LogBuildEvent(eventArgs); 2287BuildEventContext = _evaluationLoggingContext.BuildEventContext, 2294_evaluationLoggingContext.LogBuildEvent(eventArgs); 2342BuildEventContext = _evaluationLoggingContext.BuildEventContext, 2349_evaluationLoggingContext.LogBuildEvent(eventArgs); 2462loggingContext: _evaluationLoggingContext); 2499_evaluationLoggingContext, 2638loggingContext: _evaluationLoggingContext);