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