1 write to _evaluationLoggingContext
Microsoft.Build (1)
Evaluation\Evaluator.cs (1)
257_evaluationLoggingContext = evaluationLoggingContext;
54 references to _evaluationLoggingContext
Microsoft.Build (54)
Evaluation\Evaluator.cs (54)
260data = new PropertyTrackingEvaluatorDataWrapper<P, I, M, D>(data, _evaluationLoggingContext, Traits.Instance.LogPropertyTracking); 264IDirectoryCache directoryCache = directoryCacheFactory?.GetDirectoryCacheForEvaluation(_evaluationLoggingContext.BuildEventContext.EvaluationId); 272data.InitializeForEvaluation(toolsetProvider, _evaluationContext, _evaluationLoggingContext); 274_expander = new Expander<P, I>(data, data, _evaluationContext, _evaluationLoggingContext); 412evaluator._evaluationLoggingContext.LogErrorFromText( 433if (evaluator._evaluationLoggingContext.LoggingService.IncludeEvaluationPropertiesAndItemsInEvaluationFinishedEvent) 443evaluator._evaluationLoggingContext.LogCommentFromText(MessageImportance.Low, skippedMessage); 446evaluator._evaluationLoggingContext.LogProjectEvaluationFinished(globalProperties, properties, items, evaluator._evaluationProfiler.ProfiledResult); 713_data.EvaluationId = _evaluationLoggingContext.BuildEventContext.EvaluationId; 714_evaluationLoggingContext.LogProjectEvaluationStarted(); 719_evaluationLoggingContext.LogCommentFromText(MessageImportance.Low, configMessage); 724AssemblyLoadsTracker.StartTracking(_evaluationLoggingContext, AssemblyLoadingContext.Evaluation); 809lazyEvaluator = new LazyItemEvaluator<P, I, M, D>(_data, _itemFactory, _evaluationLoggingContext, _evaluationProfiler, _evaluationContext); 872_evaluationLoggingContext, 1200_evaluationLoggingContext.LogComment(MessageImportance.Low, "OverridingTarget", otherTarget.Name, otherTarget.Location.File, targetName, targetElement.Location.File); 1239_evaluationLoggingContext.LogComment(MessageImportance.Low, "TargetDoesNotExistBeforeTargetMessage", unescapedBeforeTarget, targetElement.BeforeTargetsLocation.LocationString); 1262_evaluationLoggingContext.LogComment(MessageImportance.Low, "TargetDoesNotExistAfterTargetMessage", unescapedAfterTarget, targetElement.AfterTargetsLocation.LocationString); 1274_evaluationLoggingContext.LogWarning(DiagnosticSubcategory.None, ElementLocation.Empty, "ChangeWave_InvalidFormat", Traits.Instance.MSBuildDisableFeaturesFromVersion, $"[{string.Join(", ", ChangeWaves.AllWaves.Select(x => x.ToString()))}]"); 1277_evaluationLoggingContext.LogWarning(DiagnosticSubcategory.None, ElementLocation.Empty, "ChangeWave_OutOfRotation", ChangeWaves.DisabledWave, Traits.Instance.MSBuildDisableFeaturesFromVersion, $"[{string.Join(", ", ChangeWaves.AllWaves.Select(x => x.ToString()))}]"); 1360_data.SetProperty(environmentProperty.Name, ((IProperty)environmentProperty).EvaluatedValueEscaped, isGlobalProperty: false, mayBeReserved: false, isEnvironmentVariable: true, loggingContext: _evaluationLoggingContext); 1371_data.SetProperty(toolsetProperty.Name, ((IProperty)toolsetProperty).EvaluatedValueEscaped, false /* NOT global property */, false /* may NOT be a reserved name */, loggingContext: _evaluationLoggingContext); 1380_data.SetProperty(Constants.VisualStudioVersionPropertyName, MSBuildConstants.CurrentVisualStudioVersion, false /* NOT global property */, false /* may NOT be a reserved name */, loggingContext: _evaluationLoggingContext); 1390_data.SetProperty(Constants.SubToolsetVersionPropertyName, _data.SubToolsetVersion, false /* NOT global property */, false /* may NOT be a reserved name */, loggingContext: _evaluationLoggingContext); 1397_data.SetProperty(subToolsetProperty.Name, ((IProperty)subToolsetProperty).EvaluatedValueEscaped, false /* NOT global property */, false /* may NOT be a reserved name */, loggingContext: _evaluationLoggingContext); 1420loggingContext: _evaluationLoggingContext, 1435P property = _data.SetProperty(name, evaluatedValueEscaped, false /* NOT global property */, true /* OK to be a reserved name */, loggingContext: _evaluationLoggingContext); 1453_evaluationLoggingContext.LogComment(MessageImportance.Low, "OM_GlobalProperty", propertyElement.Name); 1471_expander.PropertiesUseTracker.CheckPreexistingUndefinedUsage(propertyElement, evaluatedValue, _evaluationLoggingContext); 1473_data.SetProperty(propertyElement, evaluatedValue, _evaluationLoggingContext); 1731_evaluationLoggingContext.LogComment(MessageImportance.Low, "SearchPathsForMSBuildExtensionsPath", 1774_evaluationLoggingContext.LogComment(MessageImportance.Low, "TryingExtensionsPath", newExpandedImportPath, extensionPathExpanded); 1874BuildEventContext = _evaluationLoggingContext.BuildEventContext, 1879_evaluationLoggingContext.LogBuildEvent(eventArgs); 1957using var assemblyLoadsTracker = AssemblyLoadsTracker.StartTracking(_evaluationLoggingContext, AssemblyLoadingContext.SdkResolution, _sdkResolverService.GetType()); 1962_evaluationLoggingContext, 1986BuildEventContext = _evaluationLoggingContext.BuildEventContext, 1993_evaluationLoggingContext.LogBuildEvent(eventArgs); 2190BuildEventContext = _evaluationLoggingContext.BuildEventContext, 2197_evaluationLoggingContext.LogBuildEvent(eventArgs); 2227loggingMechanism: _evaluationLoggingContext, 2251BuildEventContext = _evaluationLoggingContext.BuildEventContext, 2256_evaluationLoggingContext.LogBuildEvent(eventArgs); 2284_evaluationLoggingContext.LogWarning(DiagnosticSubcategory.None, importLocationInProject, "SelfImport", importFileUnescaped); 2301_evaluationLoggingContext.LogWarning(DiagnosticSubcategory.None, importLocationInProject, "ImportIntroducesCircularity", importFileUnescaped, importedBy); 2328_evaluationLoggingContext.LogWarning(DiagnosticSubcategory.None, importLocationInProject, "DuplicateImport", importFileUnescaped, previouslyImportedAt.Location.LocationString, parenthesizedProjectLocation); 2392BuildEventContext = _evaluationLoggingContext.BuildEventContext, 2398_evaluationLoggingContext.LogBuildEvent(eventArgs); 2423BuildEventContext = _evaluationLoggingContext.BuildEventContext, 2430_evaluationLoggingContext.LogBuildEvent(eventArgs); 2478BuildEventContext = _evaluationLoggingContext.BuildEventContext, 2485_evaluationLoggingContext.LogBuildEvent(eventArgs); 2598loggingContext: _evaluationLoggingContext); 2635_evaluationLoggingContext, 2779loggingContext: _evaluationLoggingContext);