1 write to _expander
Microsoft.Build (1)
Evaluation\Evaluator.cs (1)
242_expander = new Expander<P, I>(data, data, _evaluationContext, _evaluationLoggingContext);
24 references to _expander
Microsoft.Build (24)
Evaluation\Evaluator.cs (24)
735_expander, 865var initialTargets = _expander.ExpandIntoStringListLeaveEscaped(currentProjectOrImport.InitialTargets, ExpanderOptions.ExpandProperties, currentProjectOrImport.InitialTargetsLocation); 870foreach (string propertyName in _expander.ExpandIntoStringListLeaveEscaped(currentProjectOrImport.TreatAsLocalProperty, ExpanderOptions.ExpandProperties, currentProjectOrImport.TreatAsLocalPropertyLocation)) 951string expanded = _expander.ExpandIntoStringLeaveEscaped(currentProjectOrImport.DefaultTargets, ExpanderOptions.ExpandProperties, currentProjectOrImport.DefaultTargetsLocation); 1056var beforeTargets = _expander.ExpandIntoStringListLeaveEscaped(targetElement.BeforeTargets, ExpanderOptions.ExpandPropertiesAndItems, targetElement.BeforeTargetsLocation); 1057var afterTargets = _expander.ExpandIntoStringListLeaveEscaped(targetElement.AfterTargets, ExpanderOptions.ExpandPropertiesAndItems, targetElement.AfterTargetsLocation); 1290_expander.PropertiesUseTracker.PropertyReadContext = PropertyReadContext.ConditionEvaluation; 1296_expander.PropertiesUseTracker.PropertyReadContext = PropertyReadContext.PropertyEvaluation; 1300_expander.PropertiesUseTracker.CurrentlyEvaluatingPropertyElementName = propertyElement.Name; 1302string evaluatedValue = _expander.ExpandIntoStringLeaveEscaped(propertyElement.Value, ExpanderOptions.ExpandProperties, propertyElement.Location); 1304_expander.PropertiesUseTracker.CheckPreexistingUndefinedUsage(propertyElement, evaluatedValue, _evaluationLoggingContext); 1341_expander.Metadata = itemDefinition; 1345_expander.Metadata = new EvaluatorMetadataTable(itemDefinitionElement.ItemType); 1353_expander.Metadata = itemDefinition; 1360string evaluatedValue = _expander.ExpandIntoStringLeaveEscaped(metadataElement.Value, ExpanderOptions.ExpandPropertiesAndCustomMetadata, itemDefinitionElement.Location); 1375_expander.Metadata = null; 1691string expanded = _expander.ExpandIntoStringAndUnescape(importElement.Condition, ExpanderOptions.ExpandProperties | ExpanderOptions.LeavePropertiesUnexpandedOnError | ExpanderOptions.Truncate, importElement.ConditionLocation); 1780EvaluateProperty(sdkReference.Name, sdkReferenceOrigin, _expander, mode), 1781EvaluateProperty(sdkReference.Version, sdkReferenceOrigin, _expander, mode), 1782EvaluateProperty(sdkReference.MinimumVersion, sdkReferenceOrigin, _expander, mode)); 1973string importExpressionEscaped = _expander.ExpandIntoStringLeaveEscaped(unescapedExpression, ExpanderOptions.ExpandProperties, importElement.ProjectLocation); 2393_expander, 2429_expander, 2483_expander.ExpandIntoStringLeaveEscaped(