9 references to ExpandPropertiesAndMetadata
Microsoft.Build (6)
BackEnd\Components\RequestBuilder\IntrinsicTasks\ItemGroupIntrinsicTask.cs (1)
394
string evaluatedInclude = expander.ExpandIntoStringLeaveEscaped(originalItem.Include, ExpanderOptions.
ExpandPropertiesAndMetadata
, originalItem.IncludeLocation);
BackEnd\Components\RequestBuilder\TargetUpToDateChecker.cs (2)
412
var targetInputs = bucket.Expander.ExpandIntoStringListLeaveEscaped(TargetInputSpecification, ExpanderOptions.
ExpandPropertiesAndMetadata
, _targetToAnalyze.InputsLocation);
413
var targetOutputs = bucket.Expander.ExpandIntoStringListLeaveEscaped(TargetOutputSpecification, ExpanderOptions.
ExpandPropertiesAndMetadata
, _targetToAnalyze.OutputsLocation);
BackEnd\Components\RequestBuilder\TaskBuilder.cs (1)
1190
var outputItemSpecs = bucket.Expander.ExpandIntoStringListLeaveEscaped(taskParameterAttribute, ExpanderOptions.
ExpandPropertiesAndMetadata
, taskItemInstance.TaskParameterLocation);
Evaluation\Evaluator.cs (2)
1348
if (EvaluateCondition(itemDefinitionElement, ExpanderOptions.
ExpandPropertiesAndMetadata
, ParserOptions.AllowPropertiesAndCustomMetadata))
1358
if (EvaluateCondition(metadataElement, ExpanderOptions.
ExpandPropertiesAndMetadata
, ParserOptions.AllowPropertiesAndCustomMetadata))
Microsoft.Build.Engine.UnitTests (3)
BackEnd\BatchingEngine_Tests.cs (2)
79
Assert.Equal("unittests.foo", bucket.Expander.ExpandIntoStringAndUnescape("$(bogus)$(UNITTESTS)", ExpanderOptions.
ExpandPropertiesAndMetadata
, MockElementLocation.Instance));
84
Assert.Equal("obj\\a.ext", buckets[0].Expander.ExpandIntoStringAndUnescape("$(obj)\\%(Filename).ext", ExpanderOptions.
ExpandPropertiesAndMetadata
, MockElementLocation.Instance));
Evaluation\Expander_Tests.cs (1)
1669
Assert.Equal(@"@(Resource->'%(Filename)') ; @(Content) ; @(NonExistent) ; ; ; \jk ; l\mno%3bpqr\stu ; @(IntermediateAssembly->'%(RelativeDir)') ; english_abc%3bdef;ghi", expander.ExpandIntoStringAndUnescape(value, ExpanderOptions.
ExpandPropertiesAndMetadata
, MockElementLocation.Instance));