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
,
865
var initialTargets =
_expander
.ExpandIntoStringListLeaveEscaped(currentProjectOrImport.InitialTargets, ExpanderOptions.ExpandProperties, currentProjectOrImport.InitialTargetsLocation);
870
foreach (string propertyName in
_expander
.ExpandIntoStringListLeaveEscaped(currentProjectOrImport.TreatAsLocalProperty, ExpanderOptions.ExpandProperties, currentProjectOrImport.TreatAsLocalPropertyLocation))
951
string expanded =
_expander
.ExpandIntoStringLeaveEscaped(currentProjectOrImport.DefaultTargets, ExpanderOptions.ExpandProperties, currentProjectOrImport.DefaultTargetsLocation);
1056
var beforeTargets =
_expander
.ExpandIntoStringListLeaveEscaped(targetElement.BeforeTargets, ExpanderOptions.ExpandPropertiesAndItems, targetElement.BeforeTargetsLocation);
1057
var 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;
1302
string 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;
1360
string evaluatedValue =
_expander
.ExpandIntoStringLeaveEscaped(metadataElement.Value, ExpanderOptions.ExpandPropertiesAndCustomMetadata, itemDefinitionElement.Location);
1375
_expander
.Metadata = null;
1691
string expanded =
_expander
.ExpandIntoStringAndUnescape(importElement.Condition, ExpanderOptions.ExpandProperties | ExpanderOptions.LeavePropertiesUnexpandedOnError | ExpanderOptions.Truncate, importElement.ConditionLocation);
1780
EvaluateProperty(sdkReference.Name, sdkReferenceOrigin,
_expander
, mode),
1781
EvaluateProperty(sdkReference.Version, sdkReferenceOrigin,
_expander
, mode),
1782
EvaluateProperty(sdkReference.MinimumVersion, sdkReferenceOrigin,
_expander
, mode));
1973
string importExpressionEscaped =
_expander
.ExpandIntoStringLeaveEscaped(unescapedExpression, ExpanderOptions.ExpandProperties, importElement.ProjectLocation);
2393
_expander
,
2429
_expander
,
2483
_expander
.ExpandIntoStringLeaveEscaped(