29 references to ExpandProperties
Microsoft.Build (29)
Definition\Project.cs (2)
3469
string evaluatedExistingInclude = _data.Expander.ExpandIntoStringLeaveEscaped(candidateExistingItemXml.Include, ExpanderOptions.
ExpandProperties
, candidateExistingItemXml.IncludeLocation);
3523
string evaluatedValueEscaped = _data.Expander.ExpandIntoStringLeaveEscaped(unevaluatedValue, ExpanderOptions.
ExpandProperties
, propertyLocation);
Definition\Toolset.cs (1)
948
ExpanderOptions.
ExpandProperties
,
Definition\ToolsetReader.cs (1)
576
return expander.ExpandIntoStringAndUnescape(property.Value, ExpanderOptions.
ExpandProperties
, property.Source);
Evaluation\Evaluator.cs (16)
384
string evaluatedIncludeEscaped = expander.ExpandIntoStringLeaveEscaped(unevaluatedIncludeEscaped, ExpanderOptions.
ExpandProperties
, itemElement.IncludeLocation);
878
var initialTargets = _expander.ExpandIntoStringListLeaveEscaped(currentProjectOrImport.InitialTargets, ExpanderOptions.
ExpandProperties
, currentProjectOrImport.InitialTargetsLocation);
883
foreach (string propertyName in _expander.ExpandIntoStringListLeaveEscaped(currentProjectOrImport.TreatAsLocalProperty, ExpanderOptions.
ExpandProperties
, currentProjectOrImport.TreatAsLocalPropertyLocation))
964
string expanded = _expander.ExpandIntoStringLeaveEscaped(currentProjectOrImport.DefaultTargets, ExpanderOptions.
ExpandProperties
, currentProjectOrImport.DefaultTargetsLocation);
992
if (EvaluateConditionCollectingConditionedProperties(propertyGroupElement, ExpanderOptions.
ExpandProperties
, ParserOptions.AllowProperties))
1007
if (EvaluateCondition(itemDefinitionGroupElement, ExpanderOptions.
ExpandProperties
, ParserOptions.AllowProperties))
1310
if (!EvaluateConditionCollectingConditionedProperties(propertyElement, ExpanderOptions.
ExpandProperties
, ParserOptions.AllowProperties))
1321
string evaluatedValue = _expander.ExpandIntoStringLeaveEscaped(propertyElement.Value, ExpanderOptions.
ExpandProperties
, propertyElement.Location);
1433
if (EvaluateConditionCollectingConditionedProperties(importGroupElement, ExpanderOptions.
ExpandProperties
, ParserOptions.AllowProperties, _projectRootElementCache))
1457
if (EvaluateConditionCollectingConditionedProperties(whenElement, ExpanderOptions.
ExpandProperties
, ParserOptions.AllowProperties))
1607
if (!EvaluateConditionCollectingConditionedProperties(importElement, newExpandedCondition, ExpanderOptions.
ExpandProperties
, ParserOptions.AllowProperties,
1704
if (!EvaluateConditionCollectingConditionedProperties(importElement, ExpanderOptions.
ExpandProperties
,
1710
string expanded = _expander.ExpandIntoStringAndUnescape(importElement.Condition, ExpanderOptions.
ExpandProperties
| ExpanderOptions.LeavePropertiesUnexpandedOnError | ExpanderOptions.Truncate, importElement.ConditionLocation);
1780
const ExpanderOptions Options = ExpanderOptions.
ExpandProperties
;
2024
string importExpressionEscaped = _expander.ExpandIntoStringLeaveEscaped(unescapedExpression, ExpanderOptions.
ExpandProperties
, importElement.ProjectLocation);
2536
ExpanderOptions.
ExpandProperties
, importElement.ProjectLocation);
Evaluation\Expander.cs (5)
113
ExpandPropertiesAndItems =
ExpandProperties
| ExpandItems,
118
ExpandPropertiesAndMetadata = ExpandMetadata |
ExpandProperties
,
123
ExpandPropertiesAndCustomMetadata = ExpandCustomMetadata |
ExpandProperties
,
128
ExpandAll = ExpandMetadata |
ExpandProperties
| ExpandItems
1280
if (((options & ExpanderOptions.
ExpandProperties
) == 0) || String.IsNullOrEmpty(expression))
Evaluation\ItemSpec.cs (1)
189
ExpanderOptions.
ExpandProperties
,
Evaluation\LazyItemEvaluator.cs (3)
561
string evaluatedExclude = _expander.ExpandIntoStringLeaveEscaped(itemElement.Exclude, ExpanderOptions.
ExpandProperties
, itemElement.ExcludeLocation);
590
string evaluatedmatchOnMetadata = _expander.ExpandIntoStringLeaveEscaped(itemElement.MatchOnMetadata, ExpanderOptions.
ExpandProperties
, itemElement.MatchOnMetadataLocation);
637
const ExpanderOptions expanderOptions = ExpanderOptions.
ExpandProperties
| ExpanderOptions.LeavePropertiesUnexpandedOnError;