29 references to ExpandProperties
Microsoft.Build (29)
Definition\Project.cs (2)
3540
string evaluatedExistingInclude = _data.Expander.ExpandIntoStringLeaveEscaped(candidateExistingItemXml.Include, ExpanderOptions.
ExpandProperties
, candidateExistingItemXml.IncludeLocation);
3594
string evaluatedValueEscaped = _data.Expander.ExpandIntoStringLeaveEscaped(unevaluatedValue, ExpanderOptions.
ExpandProperties
, propertyLocation);
Definition\Toolset.cs (1)
948
ExpanderOptions.
ExpandProperties
,
Definition\ToolsetReader.cs (1)
588
return expander.ExpandIntoStringAndUnescape(property.Value, ExpanderOptions.
ExpandProperties
, property.Source);
Evaluation\Evaluator.cs (16)
400
string evaluatedIncludeEscaped = expander.ExpandIntoStringLeaveEscaped(unevaluatedIncludeEscaped, ExpanderOptions.
ExpandProperties
, itemElement.IncludeLocation);
924
var initialTargets = _expander.ExpandIntoStringListLeaveEscaped(currentProjectOrImport.InitialTargets, ExpanderOptions.
ExpandProperties
, currentProjectOrImport.InitialTargetsLocation);
929
foreach (string propertyName in _expander.ExpandIntoStringListLeaveEscaped(currentProjectOrImport.TreatAsLocalProperty, ExpanderOptions.
ExpandProperties
, currentProjectOrImport.TreatAsLocalPropertyLocation))
1010
string expanded = _expander.ExpandIntoStringLeaveEscaped(currentProjectOrImport.DefaultTargets, ExpanderOptions.
ExpandProperties
, currentProjectOrImport.DefaultTargetsLocation);
1038
if (EvaluateConditionCollectingConditionedProperties(propertyGroupElement, ExpanderOptions.
ExpandProperties
, ParserOptions.AllowProperties))
1053
if (EvaluateCondition(itemDefinitionGroupElement, ExpanderOptions.
ExpandProperties
, ParserOptions.AllowProperties))
1356
if (!EvaluateConditionCollectingConditionedProperties(propertyElement, ExpanderOptions.
ExpandProperties
, ParserOptions.AllowProperties))
1367
string evaluatedValue = _expander.ExpandIntoStringLeaveEscaped(propertyElement.Value, ExpanderOptions.
ExpandProperties
, propertyElement.Location);
1482
if (EvaluateConditionCollectingConditionedProperties(importGroupElement, ExpanderOptions.
ExpandProperties
, ParserOptions.AllowProperties, _projectRootElementCache))
1506
if (EvaluateConditionCollectingConditionedProperties(whenElement, ExpanderOptions.
ExpandProperties
, ParserOptions.AllowProperties))
1656
if (!EvaluateConditionCollectingConditionedProperties(importElement, newExpandedCondition, ExpanderOptions.
ExpandProperties
, ParserOptions.AllowProperties,
1753
if (!EvaluateConditionCollectingConditionedProperties(importElement, ExpanderOptions.
ExpandProperties
,
1759
string expanded = _expander.ExpandIntoStringAndUnescape(importElement.Condition, ExpanderOptions.
ExpandProperties
| ExpanderOptions.LeavePropertiesUnexpandedOnError | ExpanderOptions.Truncate, importElement.ConditionLocation);
1829
const ExpanderOptions Options = ExpanderOptions.
ExpandProperties
;
2073
string importExpressionEscaped = _expander.ExpandIntoStringLeaveEscaped(unescapedExpression, ExpanderOptions.
ExpandProperties
, importElement.ProjectLocation);
2585
ExpanderOptions.
ExpandProperties
, importElement.ProjectLocation);
Evaluation\Expander.PropertyExpander.cs (1)
106
if (((options & ExpanderOptions.
ExpandProperties
) == 0) || String.IsNullOrEmpty(expression))
Evaluation\ExpanderOptions.cs (4)
75
ExpandPropertiesAndItems =
ExpandProperties
| ExpandItems,
80
ExpandPropertiesAndMetadata = ExpandMetadata |
ExpandProperties
,
85
ExpandPropertiesAndCustomMetadata = ExpandCustomMetadata |
ExpandProperties
,
90
ExpandAll = ExpandMetadata |
ExpandProperties
| ExpandItems
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;