1 implementation of IConditionEvaluationState
Microsoft.Build (1)
Evaluation\ConditionEvaluator.cs (1)
386internal class ConditionEvaluationState<P, I> : IConditionEvaluationState
44 references to IConditionEvaluationState
Microsoft.Build (37)
Evaluation\Conditionals\AndExpressionNode.cs (1)
22internal override bool BoolEvaluate(ConditionEvaluator.IConditionEvaluationState state)
Evaluation\Conditionals\FunctionCallExpressionNode.cs (4)
33internal override bool BoolEvaluate(ConditionEvaluator.IConditionEvaluationState state) 115private static string ExpandArgumentForScalarParameter(string function, GenericExpressionNode argumentNode, ConditionEvaluator.IConditionEvaluationState state, 150private List<string> ExpandArgumentAsFileList(GenericExpressionNode argumentNode, ConditionEvaluator.IConditionEvaluationState state, bool isFilePath = true) 188private void VerifyArgumentCount(int expected, ConditionEvaluator.IConditionEvaluationState state)
Evaluation\Conditionals\GenericExpressionNode.cs (7)
17internal abstract bool TryBoolEvaluate(ConditionEvaluator.IConditionEvaluationState state, out bool result); 18internal abstract bool TryNumericEvaluate(ConditionEvaluator.IConditionEvaluationState state, out double result); 19internal abstract bool TryVersionEvaluate(ConditionEvaluator.IConditionEvaluationState state, out Version result); 28internal virtual bool EvaluatesToEmpty(ConditionEvaluator.IConditionEvaluationState state) 37internal abstract string GetExpandedValue(ConditionEvaluator.IConditionEvaluationState state); 43internal abstract string GetUnexpandedValue(ConditionEvaluator.IConditionEvaluationState state); 62internal bool Evaluate(ConditionEvaluator.IConditionEvaluationState state)
Evaluation\Conditionals\MultipleComparisonExpressionNode.cs (2)
40internal override bool BoolEvaluate(ConditionEvaluator.IConditionEvaluationState state) 116private void UpdateConditionedProperties(ConditionEvaluator.IConditionEvaluationState state)
Evaluation\Conditionals\NotExpressionNode.cs (3)
22internal override bool BoolEvaluate(ConditionEvaluator.IConditionEvaluationState state) 40internal override string GetUnexpandedValue(ConditionEvaluator.IConditionEvaluationState state) 51internal override string GetExpandedValue(ConditionEvaluator.IConditionEvaluationState state)
Evaluation\Conditionals\NumericComparisonExpressionNode.cs (1)
41internal override bool BoolEvaluate(ConditionEvaluator.IConditionEvaluationState state)
Evaluation\Conditionals\NumericExpressionNode.cs (5)
24internal override bool TryBoolEvaluate(ConditionEvaluator.IConditionEvaluationState state, out bool result) 30internal override bool TryNumericEvaluate(ConditionEvaluator.IConditionEvaluationState state, out double result) 35internal override bool TryVersionEvaluate(ConditionEvaluator.IConditionEvaluationState state, out Version? result) 47internal override string GetUnexpandedValue(ConditionEvaluator.IConditionEvaluationState state) 55internal override string GetExpandedValue(ConditionEvaluator.IConditionEvaluationState state)
Evaluation\Conditionals\OperatorExpressionNode.cs (6)
17internal override bool TryBoolEvaluate(ConditionEvaluator.IConditionEvaluationState state, out bool result) 23internal abstract bool BoolEvaluate(ConditionEvaluator.IConditionEvaluationState state); 25internal override bool TryNumericEvaluate(ConditionEvaluator.IConditionEvaluationState state, out double result) 31internal override bool TryVersionEvaluate(ConditionEvaluator.IConditionEvaluationState state, out Version result) 41internal override string GetExpandedValue(ConditionEvaluator.IConditionEvaluationState state) 54internal override string GetUnexpandedValue(ConditionEvaluator.IConditionEvaluationState state)
Evaluation\Conditionals\OrExpressionNode.cs (1)
22internal override bool BoolEvaluate(ConditionEvaluator.IConditionEvaluationState state)
Evaluation\Conditionals\StringExpressionNode.cs (7)
34internal override bool TryBoolEvaluate(ConditionEvaluator.IConditionEvaluationState state, out bool result) 39internal override bool TryNumericEvaluate(ConditionEvaluator.IConditionEvaluationState state, out double result) 52internal override bool TryVersionEvaluate(ConditionEvaluator.IConditionEvaluationState state, out Version result) 72internal override bool EvaluatesToEmpty(ConditionEvaluator.IConditionEvaluationState state) 128internal override string GetUnexpandedValue(ConditionEvaluator.IConditionEvaluationState state) 137internal override string GetExpandedValue(ConditionEvaluator.IConditionEvaluationState state) 176private bool ShouldBeTreatedAsVisualStudioVersion(ConditionEvaluator.IConditionEvaluationState state)
Microsoft.Build.Engine.UnitTests (7)
ExpressionTree_Tests.cs (4)
111ConditionEvaluator.IConditionEvaluationState state = 334ConditionEvaluator.IConditionEvaluationState state = 432private void AssertParseEvaluate(Parser p, string expression, Expander<ProjectPropertyInstance, ProjectItemInstance> expander, bool expected, ConditionEvaluator.IConditionEvaluationState state) 464private void AssertParseEvaluateThrow(Parser p, string expression, Expander<ProjectPropertyInstance, ProjectItemInstance> expander, ConditionEvaluator.IConditionEvaluationState state)
ExpressionTreeExpression_Tests.cs (3)
437ConditionEvaluator.IConditionEvaluationState state = 461ConditionEvaluator.IConditionEvaluationState state = 493ConditionEvaluator.IConditionEvaluationState state =