48 references to ParserOptions
Microsoft.Build (48)
BackEnd\Components\RequestBuilder\IntrinsicTasks\ItemGroupIntrinsicTask.cs (4)
71ParserOptions.AllowAll, 178ParserOptions.AllowAll, 214ParserOptions.AllowAll, 332ParserOptions.AllowAll,
BackEnd\Components\RequestBuilder\IntrinsicTasks\PropertyGroupIntrinsicTask.cs (1)
66ParserOptions.AllowAll,
BackEnd\Components\RequestBuilder\TargetEntry.cs (3)
365ParserOptions.AllowPropertiesAndItemLists, 637ParserOptions.AllowPropertiesAndItemLists, 735ParserOptions.AllowPropertiesAndItemLists,
BackEnd\Components\RequestBuilder\TaskBuilder.cs (4)
396ParserOptions parserOptions = (_taskNode == null) ? ParserOptions.AllowPropertiesAndItemLists : ParserOptions.AllowAll; 1165ParserOptions.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)
1140if (EvaluateConditionCollectingConditionedProperties(propertyGroupElement, ExpanderOptions.ExpandProperties, ParserOptions.AllowProperties)) 1155if (EvaluateCondition(itemDefinitionGroupElement, ExpanderOptions.ExpandProperties, ParserOptions.AllowProperties)) 1172bool itemGroupConditionResult = lazyEvaluator.EvaluateConditionWithCurrentState(itemGroupElement, ExpanderOptions.ExpandPropertiesAndItems, ParserOptions.AllowPropertiesAndItemLists); 1458if (!EvaluateConditionCollectingConditionedProperties(propertyElement, ExpanderOptions.ExpandProperties, ParserOptions.AllowProperties)) 1479bool itemConditionResult = lazyEvaluator.EvaluateConditionWithCurrentState(itemElement, ExpanderOptions.ExpandPropertiesAndItems, ParserOptions.AllowPropertiesAndItemLists); 1515if (EvaluateCondition(itemDefinitionElement, ExpanderOptions.ExpandPropertiesAndMetadata, ParserOptions.AllowPropertiesAndCustomMetadata)) 1525if (EvaluateCondition(metadataElement, ExpanderOptions.ExpandPropertiesAndMetadata, ParserOptions.AllowPropertiesAndCustomMetadata)) 1584if (EvaluateConditionCollectingConditionedProperties(importGroupElement, ExpanderOptions.ExpandProperties, ParserOptions.AllowProperties, _projectRootElementCache)) 1608if (EvaluateConditionCollectingConditionedProperties(whenElement, ExpanderOptions.ExpandProperties, ParserOptions.AllowProperties)) 1758if (!EvaluateConditionCollectingConditionedProperties(importElement, newExpandedCondition, ExpanderOptions.ExpandProperties, ParserOptions.AllowProperties, 1856ParserOptions.AllowProperties, _projectRootElementCache)) 2576private bool EvaluateCondition(ProjectElement element, ExpanderOptions expanderOptions, ParserOptions parserOptions) 2581private bool EvaluateCondition(ProjectElement element, string condition, ExpanderOptions expanderOptions, ParserOptions parserOptions) 2604private bool EvaluateConditionCollectingConditionedProperties(ProjectElement element, ExpanderOptions expanderOptions, ParserOptions parserOptions, ProjectRootElementCacheBase projectRootElementCache = null) 2612private 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)
2415ParserOptions.AllowPropertiesAndItemLists,
Instance\TaskRegistry.cs (1)
235ParserOptions.AllowPropertiesAndItemLists,