48 references to ParserOptions
Microsoft.Build (48)
BackEnd\Components\RequestBuilder\IntrinsicTasks\ItemGroupIntrinsicTask.cs (4)
70ParserOptions.AllowAll, 177ParserOptions.AllowAll, 213ParserOptions.AllowAll, 331ParserOptions.AllowAll,
BackEnd\Components\RequestBuilder\IntrinsicTasks\PropertyGroupIntrinsicTask.cs (1)
66ParserOptions.AllowAll,
BackEnd\Components\RequestBuilder\TargetEntry.cs (3)
354ParserOptions.AllowPropertiesAndItemLists, 616ParserOptions.AllowPropertiesAndItemLists, 708ParserOptions.AllowPropertiesAndItemLists,
BackEnd\Components\RequestBuilder\TaskBuilder.cs (4)
398ParserOptions parserOptions = (_taskNode == null) ? ParserOptions.AllowPropertiesAndItemLists : ParserOptions.AllowAll; 1115ParserOptions.AllowAll,
Evaluation\Conditionals\Parser.cs (3)
46private ParserOptions _options; 98internal GenericExpressionNode Parse(string expression, ParserOptions optionSettings, ElementLocation elementLocation) 102Assumed.True((optionSettings & ParserOptions.AllowProperties) != 0, "Properties should always be allowed.");
Evaluation\Conditionals\Scanner.cs (9)
35private ParserOptions _options; 59internal Scanner(string expressionToParse, ParserOptions options) 63Assumed.True((options & ParserOptions.AllowProperties) != 0, "Properties should always be allowed."); 187if ((_options & ParserOptions.AllowItemLists) == 0) 459if ((_options & ParserOptions.AllowItemMetadata) == ParserOptions.AllowItemMetadata) 479if (((_options & ParserOptions.AllowBuiltInMetadata) == 0) && 489if (((_options & ParserOptions.AllowCustomMetadata) == 0) && 615if ((_options & ParserOptions.AllowItemLists) == 0)
Evaluation\ConditionEvaluator.cs (3)
182ParserOptions options, 215ParserOptions options, 309ParserOptions options,
Evaluation\Evaluator.cs (15)
992if (EvaluateConditionCollectingConditionedProperties(propertyGroupElement, ExpanderOptions.ExpandProperties, ParserOptions.AllowProperties)) 1007if (EvaluateCondition(itemDefinitionGroupElement, ExpanderOptions.ExpandProperties, ParserOptions.AllowProperties)) 1024bool itemGroupConditionResult = lazyEvaluator.EvaluateConditionWithCurrentState(itemGroupElement, ExpanderOptions.ExpandPropertiesAndItems, ParserOptions.AllowPropertiesAndItemLists); 1310if (!EvaluateConditionCollectingConditionedProperties(propertyElement, ExpanderOptions.ExpandProperties, ParserOptions.AllowProperties)) 1331bool itemConditionResult = lazyEvaluator.EvaluateConditionWithCurrentState(itemElement, ExpanderOptions.ExpandPropertiesAndItems, ParserOptions.AllowPropertiesAndItemLists); 1367if (EvaluateCondition(itemDefinitionElement, ExpanderOptions.ExpandPropertiesAndMetadata, ParserOptions.AllowPropertiesAndCustomMetadata)) 1377if (EvaluateCondition(metadataElement, ExpanderOptions.ExpandPropertiesAndMetadata, ParserOptions.AllowPropertiesAndCustomMetadata)) 1433if (EvaluateConditionCollectingConditionedProperties(importGroupElement, ExpanderOptions.ExpandProperties, ParserOptions.AllowProperties, _projectRootElementCache)) 1457if (EvaluateConditionCollectingConditionedProperties(whenElement, ExpanderOptions.ExpandProperties, ParserOptions.AllowProperties)) 1607if (!EvaluateConditionCollectingConditionedProperties(importElement, newExpandedCondition, ExpanderOptions.ExpandProperties, ParserOptions.AllowProperties, 1705ParserOptions.AllowProperties, _projectRootElementCache)) 2427private bool EvaluateCondition(ProjectElement element, ExpanderOptions expanderOptions, ParserOptions parserOptions) 2432private bool EvaluateCondition(ProjectElement element, string condition, ExpanderOptions expanderOptions, ParserOptions parserOptions) 2455private bool EvaluateConditionCollectingConditionedProperties(ProjectElement element, ExpanderOptions expanderOptions, ParserOptions parserOptions, ProjectRootElementCacheBase projectRootElementCache = null) 2463private bool EvaluateConditionCollectingConditionedProperties(ProjectElement element, string condition, ExpanderOptions expanderOptions, ParserOptions parserOptions, ProjectRootElementCacheBase projectRootElementCache = null)
Evaluation\LazyItemEvaluator.cs (2)
65public bool EvaluateConditionWithCurrentState(ProjectElement element, ExpanderOptions expanderOptions, ParserOptions parserOptions) 74ParserOptions parserOptions,
Evaluation\LazyItemEvaluator.LazyItemOperation.cs (2)
207if (!EvaluateCondition(metadataElement.Condition, metadataElement, metadataExpansionOptions, ParserOptions.AllowAll, _expander, _lazyEvaluator)) 243ParserOptions.AllowAll,
Instance\ProjectInstance.cs (1)
2353ParserOptions.AllowPropertiesAndItemLists,
Instance\TaskRegistry.cs (1)
293ParserOptions.AllowPropertiesAndItemLists,