36 references to AllowProperties
Microsoft.Build (13)
Evaluation\Conditionals\Parser.cs (5)
22
AllowPropertiesAndItemLists =
AllowProperties
| AllowItemLists,
26
AllowPropertiesAndItemMetadata =
AllowProperties
| AllowItemMetadata,
27
AllowPropertiesAndCustomMetadata =
AllowProperties
| AllowCustomMetadata,
28
AllowAll =
AllowProperties
| AllowItemLists | AllowItemMetadata
102
ErrorUtilities.VerifyThrow(0 != (optionSettings & ParserOptions.
AllowProperties
),
Evaluation\Conditionals\Scanner.cs (1)
62
ErrorUtilities.VerifyThrow(0 != (options & ParserOptions.
AllowProperties
),
Evaluation\Evaluator.cs (7)
979
if (EvaluateConditionCollectingConditionedProperties(propertyGroupElement, ExpanderOptions.ExpandProperties, ParserOptions.
AllowProperties
))
994
if (EvaluateCondition(itemDefinitionGroupElement, ExpanderOptions.ExpandProperties, ParserOptions.
AllowProperties
))
1291
if (!EvaluateConditionCollectingConditionedProperties(propertyElement, ExpanderOptions.ExpandProperties, ParserOptions.
AllowProperties
))
1414
if (EvaluateConditionCollectingConditionedProperties(importGroupElement, ExpanderOptions.ExpandProperties, ParserOptions.
AllowProperties
, _projectRootElementCache))
1438
if (EvaluateConditionCollectingConditionedProperties(whenElement, ExpanderOptions.ExpandProperties, ParserOptions.
AllowProperties
))
1588
if (!EvaluateConditionCollectingConditionedProperties(importElement, newExpandedCondition, ExpanderOptions.ExpandProperties, ParserOptions.
AllowProperties
,
1686
ParserOptions.
AllowProperties
, _projectRootElementCache))
Microsoft.Build.Engine.UnitTests (23)
Parser_Tests.cs (15)
142
tree = p.Parse("@(foo) == 'a.cs;b.cs'", ParserOptions.
AllowProperties
, _elementLocation);
154
tree = p.Parse("'a.cs;b.cs' == @(foo)", ParserOptions.
AllowProperties
, _elementLocation);
166
tree = p.Parse("'@(foo)' == 'a.cs;b.cs'", ParserOptions.
AllowProperties
, _elementLocation);
178
tree = p.Parse("'otherstuff@(foo)' == 'a.cs;b.cs'", ParserOptions.
AllowProperties
, _elementLocation);
190
tree = p.Parse("'@(foo)otherstuff' == 'a.cs;b.cs'", ParserOptions.
AllowProperties
, _elementLocation);
202
tree = p.Parse("somefunction(@(foo), 'otherstuff')", ParserOptions.
AllowProperties
, _elementLocation);
219
ParserOptions.
AllowProperties
| ParserOptions.AllowItemLists, _elementLocation);
224
ParserOptions.
AllowProperties
| ParserOptions.AllowItemLists, _elementLocation);
228
ParserOptions.
AllowProperties
| ParserOptions.AllowItemLists, _elementLocation);
241
tree = p.Parse("%(foo) == 'a.cs;b.cs'", ParserOptions.
AllowProperties
| ParserOptions.AllowItemLists, _elementLocation);
253
tree = p.Parse("'a.cs;b.cs' == %(foo)", ParserOptions.
AllowProperties
| ParserOptions.AllowItemLists, _elementLocation);
265
tree = p.Parse("'%(foo)' == 'a.cs;b.cs'", ParserOptions.
AllowProperties
| ParserOptions.AllowItemLists, _elementLocation);
277
tree = p.Parse("'otherstuff%(foo)' == 'a.cs;b.cs'", ParserOptions.
AllowProperties
| ParserOptions.AllowItemLists, _elementLocation);
289
tree = p.Parse("'%(foo)otherstuff' == 'a.cs;b.cs'", ParserOptions.
AllowProperties
| ParserOptions.AllowItemLists, _elementLocation);
301
tree = p.Parse("somefunction(%(foo), 'otherstuff')", ParserOptions.
AllowProperties
| ParserOptions.AllowItemLists, _elementLocation);
Scanner_Tests.cs (8)
86
Scanner lexer = new Scanner("a=b", ParserOptions.
AllowProperties
);
98
Scanner lexer = new Scanner("$(", ParserOptions.
AllowProperties
);
102
lexer = new Scanner("$x", ParserOptions.
AllowProperties
);
117
Scanner lexer = new Scanner(pattern, ParserOptions.
AllowProperties
);
133
Scanner lexer = new Scanner(pattern, ParserOptions.
AllowProperties
);
545
Scanner lexer = new Scanner("@(foo)", ParserOptions.
AllowProperties
);
549
lexer = new Scanner("1234 '@(foo)'", ParserOptions.
AllowProperties
);
554
lexer = new Scanner("'1234 @(foo)'", ParserOptions.
AllowProperties
);