1 write to _evaluationLoggingContext
Microsoft.Build (1)
Evaluation\Evaluator.cs (1)
253_evaluationLoggingContext = new EvaluationLoggingContext(
54 references to _evaluationLoggingContext
Microsoft.Build (54)
Evaluation\Evaluator.cs (54)
259data = new PropertyTrackingEvaluatorDataWrapper<P, I, M, D>(data, _evaluationLoggingContext, Traits.Instance.LogPropertyTracking); 263IDirectoryCache directoryCache = directoryCacheFactory?.GetDirectoryCacheForEvaluation(_evaluationLoggingContext.BuildEventContext.EvaluationId); 271data.InitializeForEvaluation(toolsetProvider, _evaluationContext, _evaluationLoggingContext); 273_expander = new Expander<P, I>(data, data, _evaluationContext, _evaluationLoggingContext); 380evaluator._evaluationLoggingContext.LogErrorFromText(null, null, null, new BuildEventFileInfo(root.ProjectFileLocation.File), 389if (evaluator._evaluationLoggingContext.LoggingService.IncludeEvaluationPropertiesAndItemsInEvaluationFinishedEvent) 399evaluator._evaluationLoggingContext.LogCommentFromText(MessageImportance.Low, skippedMessage); 402evaluator._evaluationLoggingContext.LogProjectEvaluationFinished(globalProperties, properties, items, evaluator._evaluationProfiler.ProfiledResult); 669_data.EvaluationId = _evaluationLoggingContext.BuildEventContext.EvaluationId; 670_evaluationLoggingContext.LogProjectEvaluationStarted(); 675_evaluationLoggingContext.LogCommentFromText(MessageImportance.Low, configMessage); 680AssemblyLoadsTracker.StartTracking(_evaluationLoggingContext, AssemblyLoadingContext.Evaluation); 755lazyEvaluator = new LazyItemEvaluator<P, I, M, D>(_data, _itemFactory, _evaluationLoggingContext, _evaluationProfiler, _evaluationContext); 814_evaluationLoggingContext, 1128_evaluationLoggingContext.LogComment(MessageImportance.Low, "OverridingTarget", otherTarget.Name, otherTarget.Location.File, targetName, targetElement.Location.File); 1167_evaluationLoggingContext.LogComment(MessageImportance.Low, "TargetDoesNotExistBeforeTargetMessage", unescapedBeforeTarget, targetElement.BeforeTargetsLocation.LocationString); 1190_evaluationLoggingContext.LogComment(MessageImportance.Low, "TargetDoesNotExistAfterTargetMessage", unescapedAfterTarget, targetElement.AfterTargetsLocation.LocationString); 1202_evaluationLoggingContext.LogWarning("", new BuildEventFileInfo(""), "ChangeWave_InvalidFormat", Traits.Instance.MSBuildDisableFeaturesFromVersion, $"[{string.Join(", ", ChangeWaves.AllWaves.Select(x => x.ToString()))}]"); 1205_evaluationLoggingContext.LogWarning("", new BuildEventFileInfo(""), "ChangeWave_OutOfRotation", ChangeWaves.DisabledWave, Traits.Instance.MSBuildDisableFeaturesFromVersion, $"[{string.Join(", ", ChangeWaves.AllWaves.Select(x => x.ToString()))}]"); 1288_data.SetProperty(environmentProperty.Name, ((IProperty)environmentProperty).EvaluatedValueEscaped, isGlobalProperty: false, mayBeReserved: false, isEnvironmentVariable: true, loggingContext: _evaluationLoggingContext); 1299_data.SetProperty(toolsetProperty.Name, ((IProperty)toolsetProperty).EvaluatedValueEscaped, false /* NOT global property */, false /* may NOT be a reserved name */, loggingContext: _evaluationLoggingContext); 1308_data.SetProperty(Constants.VisualStudioVersionPropertyName, MSBuildConstants.CurrentVisualStudioVersion, false /* NOT global property */, false /* may NOT be a reserved name */, loggingContext: _evaluationLoggingContext); 1318_data.SetProperty(Constants.SubToolsetVersionPropertyName, _data.SubToolsetVersion, false /* NOT global property */, false /* may NOT be a reserved name */, loggingContext: _evaluationLoggingContext); 1325_data.SetProperty(subToolsetProperty.Name, ((IProperty)subToolsetProperty).EvaluatedValueEscaped, false /* NOT global property */, false /* may NOT be a reserved name */, loggingContext: _evaluationLoggingContext); 1348loggingContext: _evaluationLoggingContext, 1363P property = _data.SetProperty(name, evaluatedValueEscaped, false /* NOT global property */, true /* OK to be a reserved name */, loggingContext: _evaluationLoggingContext); 1381_evaluationLoggingContext.LogComment(MessageImportance.Low, "OM_GlobalProperty", propertyElement.Name); 1399_expander.PropertiesUseTracker.CheckPreexistingUndefinedUsage(propertyElement, evaluatedValue, _evaluationLoggingContext); 1401_data.SetProperty(propertyElement, evaluatedValue, _evaluationLoggingContext); 1659_evaluationLoggingContext.LogComment(MessageImportance.Low, "SearchPathsForMSBuildExtensionsPath", 1702_evaluationLoggingContext.LogComment(MessageImportance.Low, "TryingExtensionsPath", newExpandedImportPath, extensionPathExpanded); 1802BuildEventContext = _evaluationLoggingContext.BuildEventContext, 1807_evaluationLoggingContext.LogBuildEvent(eventArgs); 1887using var assemblyLoadsTracker = AssemblyLoadsTracker.StartTracking(_evaluationLoggingContext, AssemblyLoadingContext.SdkResolution, _sdkResolverService.GetType()); 1892_evaluationLoggingContext, 1916BuildEventContext = _evaluationLoggingContext.BuildEventContext, 1923_evaluationLoggingContext.LogBuildEvent(eventArgs); 2120BuildEventContext = _evaluationLoggingContext.BuildEventContext, 2127_evaluationLoggingContext.LogBuildEvent(eventArgs); 2157loggingMechanism: _evaluationLoggingContext, 2181BuildEventContext = _evaluationLoggingContext.BuildEventContext, 2186_evaluationLoggingContext.LogBuildEvent(eventArgs); 2214_evaluationLoggingContext.LogWarning(null, new BuildEventFileInfo(importLocationInProject), "SelfImport", importFileUnescaped); 2231_evaluationLoggingContext.LogWarning(null, new BuildEventFileInfo(importLocationInProject), "ImportIntroducesCircularity", importFileUnescaped, importedBy); 2258_evaluationLoggingContext.LogWarning(null, new BuildEventFileInfo(importLocationInProject), "DuplicateImport", importFileUnescaped, previouslyImportedAt.Location.LocationString, parenthesizedProjectLocation); 2322BuildEventContext = _evaluationLoggingContext.BuildEventContext, 2328_evaluationLoggingContext.LogBuildEvent(eventArgs); 2353BuildEventContext = _evaluationLoggingContext.BuildEventContext, 2360_evaluationLoggingContext.LogBuildEvent(eventArgs); 2408BuildEventContext = _evaluationLoggingContext.BuildEventContext, 2415_evaluationLoggingContext.LogBuildEvent(eventArgs); 2528loggingContext: _evaluationLoggingContext); 2565_evaluationLoggingContext, 2709loggingContext: _evaluationLoggingContext);