25 references to PropertyReadContext
Microsoft.Build (25)
BackEnd\Components\RequestBuilder\IntrinsicTasks\PropertyGroupIntrinsicTask.cs (1)
83PropertyReadContext.PropertyEvaluation;
BuildCheck\Checks\PropertiesUsageCheck.cs (4)
176if (readData.PropertyReadContext != PropertyReadContext.PropertyEvaluationSelf && 185readData.PropertyReadContext != PropertyReadContext.PropertyEvaluationSelf && 186readData.PropertyReadContext != PropertyReadContext.ConditionEvaluationWithOneSideEmpty && 188readData.PropertyReadContext != PropertyReadContext.ConditionEvaluation))
BuildCheck\Infrastructure\InternalOM\PropertyReadInfo.cs (2)
24PropertyReadContext PropertyReadContext) 30PropertyReadContext PropertyReadContext)
BuildCheck\OM\PropertyReadData.cs (2)
20PropertyReadContext propertyReadContext) 53public PropertyReadContext PropertyReadContext { get; } = propertyReadContext;
Evaluation\Conditionals\MultipleComparisonExpressionNode.cs (2)
61state.PropertiesUseTracker.PropertyReadContext = PropertyReadContext.ConditionEvaluationWithOneSideEmpty; 99state.PropertiesUseTracker.PropertyReadContext = PropertyReadContext.ConditionEvaluation;
Evaluation\ConditionEvaluator.cs (1)
278expander.PropertiesUseTracker.PropertyReadContext = PropertyReadContext.ConditionEvaluation;
Evaluation\Evaluator.cs (2)
1290_expander.PropertiesUseTracker.PropertyReadContext = PropertyReadContext.ConditionEvaluation; 1296_expander.PropertiesUseTracker.PropertyReadContext = PropertyReadContext.PropertyEvaluation;
Evaluation\PropertiesUseTracker.cs (10)
77private PropertyReadContext GetPropertyReadContext(string propertyName, int startIndex, int endIndex) 79if (PropertyReadContext == PropertyReadContext.PropertyEvaluation && 84return PropertyReadContext.PropertyEvaluationSelf; 148PropertyReadContext = PropertyReadContext.Other; 151private PropertyReadContext _propertyReadContext; 152private PropertyReadContext _previousPropertyReadContext = PropertyReadContext.Other; 153internal PropertyReadContext PropertyReadContext 165_propertyReadContext = pop ? _previousPropertyReadContext : PropertyReadContext.Other; 166_previousPropertyReadContext = PropertyReadContext.Other;
Instance\ProjectInstance.cs (1)
1911new PropertyReadInfo(name, ElementLocation.EmptyLocation, false, PropertyReadContext.Other));