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