1 write to _evaluationLoggingContext
Microsoft.Build (1)
Evaluation\Evaluator.cs (1)
227_evaluationLoggingContext = new EvaluationLoggingContext(
52 references to _evaluationLoggingContext
Microsoft.Build (52)
Evaluation\Evaluator.cs (52)
233data = new PropertyTrackingEvaluatorDataWrapper<P, I, M, D>(data, _evaluationLoggingContext, Traits.Instance.LogPropertyTracking); 237IDirectoryCache directoryCache = directoryCacheFactory?.GetDirectoryCacheForEvaluation(_evaluationLoggingContext.BuildEventContext.EvaluationId); 245data.InitializeForEvaluation(toolsetProvider, _evaluationContext, _evaluationLoggingContext); 247_expander = new Expander<P, I>(data, data, _evaluationContext, _evaluationLoggingContext); 350evaluator._evaluationLoggingContext.LogErrorFromText(null, null, null, new BuildEventFileInfo(root.ProjectFileLocation.File), 359if (evaluator._evaluationLoggingContext.LoggingService.IncludeEvaluationPropertiesAndItemsInEvaluationFinishedEvent) 366evaluator._evaluationLoggingContext.LogProjectEvaluationFinished(globalProperties, properties, items, evaluator._evaluationProfiler.ProfiledResult); 633_data.EvaluationId = _evaluationLoggingContext.BuildEventContext.EvaluationId; 634_evaluationLoggingContext.LogProjectEvaluationStarted(); 638AssemblyLoadsTracker.StartTracking(_evaluationLoggingContext, AssemblyLoadingContext.Evaluation); 699lazyEvaluator = new LazyItemEvaluator<P, I, M, D>(_data, _itemFactory, _evaluationLoggingContext, _evaluationProfiler, _evaluationContext); 745_evaluationLoggingContext, 1052_evaluationLoggingContext.LogComment(MessageImportance.Low, "OverridingTarget", otherTarget.Name, otherTarget.Location.File, targetName, targetElement.Location.File); 1091_evaluationLoggingContext.LogComment(MessageImportance.Low, "TargetDoesNotExistBeforeTargetMessage", unescapedBeforeTarget, targetElement.BeforeTargetsLocation.LocationString); 1114_evaluationLoggingContext.LogComment(MessageImportance.Low, "TargetDoesNotExistAfterTargetMessage", unescapedAfterTarget, targetElement.AfterTargetsLocation.LocationString); 1126_evaluationLoggingContext.LogWarning("", new BuildEventFileInfo(""), "ChangeWave_InvalidFormat", Traits.Instance.MSBuildDisableFeaturesFromVersion, $"[{string.Join(", ", ChangeWaves.AllWaves.Select(x => x.ToString()))}]"); 1129_evaluationLoggingContext.LogWarning("", new BuildEventFileInfo(""), "ChangeWave_OutOfRotation", ChangeWaves.DisabledWave, Traits.Instance.MSBuildDisableFeaturesFromVersion, $"[{string.Join(", ", ChangeWaves.AllWaves.Select(x => x.ToString()))}]"); 1212_data.SetProperty(environmentProperty.Name, ((IProperty)environmentProperty).EvaluatedValueEscaped, isGlobalProperty: false, mayBeReserved: false, isEnvironmentVariable: true, loggingContext: _evaluationLoggingContext); 1223_data.SetProperty(toolsetProperty.Name, ((IProperty)toolsetProperty).EvaluatedValueEscaped, false /* NOT global property */, false /* may NOT be a reserved name */, loggingContext: _evaluationLoggingContext); 1232_data.SetProperty(Constants.VisualStudioVersionPropertyName, MSBuildConstants.CurrentVisualStudioVersion, false /* NOT global property */, false /* may NOT be a reserved name */, loggingContext: _evaluationLoggingContext); 1242_data.SetProperty(Constants.SubToolsetVersionPropertyName, _data.SubToolsetVersion, false /* NOT global property */, false /* may NOT be a reserved name */, loggingContext: _evaluationLoggingContext); 1249_data.SetProperty(subToolsetProperty.Name, ((IProperty)subToolsetProperty).EvaluatedValueEscaped, false /* NOT global property */, false /* may NOT be a reserved name */, loggingContext: _evaluationLoggingContext); 1272loggingContext: _evaluationLoggingContext, 1287P property = _data.SetProperty(name, evaluatedValueEscaped, false /* NOT global property */, true /* OK to be a reserved name */, loggingContext: _evaluationLoggingContext); 1305_evaluationLoggingContext.LogComment(MessageImportance.Low, "OM_GlobalProperty", propertyElement.Name); 1323_expander.PropertiesUseTracker.CheckPreexistingUndefinedUsage(propertyElement, evaluatedValue, _evaluationLoggingContext); 1325_data.SetProperty(propertyElement, evaluatedValue, _evaluationLoggingContext); 1580_evaluationLoggingContext.LogComment(MessageImportance.Low, "SearchPathsForMSBuildExtensionsPath", 1623_evaluationLoggingContext.LogComment(MessageImportance.Low, "TryingExtensionsPath", newExpandedImportPath, extensionPathExpanded); 1723BuildEventContext = _evaluationLoggingContext.BuildEventContext, 1728_evaluationLoggingContext.LogBuildEvent(eventArgs); 1808using var assemblyLoadsTracker = AssemblyLoadsTracker.StartTracking(_evaluationLoggingContext, AssemblyLoadingContext.SdkResolution, _sdkResolverService.GetType()); 1810sdkResult = _sdkResolverService.ResolveSdk(_submissionId, sdkReference, _evaluationLoggingContext, importElement.Location, solutionPath, projectPath, _interactive, _isRunningInVisualStudio, 1830BuildEventContext = _evaluationLoggingContext.BuildEventContext, 1837_evaluationLoggingContext.LogBuildEvent(eventArgs); 2012BuildEventContext = _evaluationLoggingContext.BuildEventContext, 2019_evaluationLoggingContext.LogBuildEvent(eventArgs); 2049loggingMechanism: _evaluationLoggingContext, 2073BuildEventContext = _evaluationLoggingContext.BuildEventContext, 2078_evaluationLoggingContext.LogBuildEvent(eventArgs); 2106_evaluationLoggingContext.LogWarning(null, new BuildEventFileInfo(importLocationInProject), "SelfImport", importFileUnescaped); 2123_evaluationLoggingContext.LogWarning(null, new BuildEventFileInfo(importLocationInProject), "ImportIntroducesCircularity", importFileUnescaped, importedBy); 2150_evaluationLoggingContext.LogWarning(null, new BuildEventFileInfo(importLocationInProject), "DuplicateImport", importFileUnescaped, previouslyImportedAt.Location.LocationString, parenthesizedProjectLocation); 2214BuildEventContext = _evaluationLoggingContext.BuildEventContext, 2220_evaluationLoggingContext.LogBuildEvent(eventArgs); 2245BuildEventContext = _evaluationLoggingContext.BuildEventContext, 2252_evaluationLoggingContext.LogBuildEvent(eventArgs); 2300BuildEventContext = _evaluationLoggingContext.BuildEventContext, 2307_evaluationLoggingContext.LogBuildEvent(eventArgs); 2420loggingContext: _evaluationLoggingContext); 2457_evaluationLoggingContext, 2596loggingContext: _evaluationLoggingContext);