4 writes to LeftChild
Microsoft.Build (4)
Evaluation\Conditionals\Parser.cs (4)
148
orNode.
LeftChild
= lhs;
194
andNode.
LeftChild
= lhs;
221
node.
LeftChild
= lhs;
310
notNode.
LeftChild
= expr;
33 references to LeftChild
Microsoft.Build (33)
Evaluation\Conditionals\AndExpressionNode.cs (4)
21
if (!
LeftChild
.TryBoolEvaluate(state, out bool leftBool))
26
LeftChild
.GetUnexpandedValue(state),
27
LeftChild
.GetExpandedValue(state),
52
internal override string DebuggerDisplay => $"(and {
LeftChild
.DebuggerDisplay} {RightChild.DebuggerDisplay})";
Evaluation\Conditionals\EqualExpressionNode.cs (1)
39
internal override string DebuggerDisplay => $"(== {
LeftChild
.DebuggerDisplay} {RightChild.DebuggerDisplay})";
Evaluation\Conditionals\GreaterThanExpressionNode.cs (1)
62
internal override string DebuggerDisplay => $"(> {
LeftChild
.DebuggerDisplay} {RightChild.DebuggerDisplay})";
Evaluation\Conditionals\GreaterThanOrEqualExpressionNode.cs (1)
62
internal override string DebuggerDisplay => $"(>= {
LeftChild
.DebuggerDisplay} {RightChild.DebuggerDisplay})";
Evaluation\Conditionals\LessThanExpressionNode.cs (1)
73
internal override string DebuggerDisplay => $"(< {
LeftChild
.DebuggerDisplay} {RightChild.DebuggerDisplay})";
Evaluation\Conditionals\LessThanOrEqualExpressionNode.cs (1)
62
internal override string DebuggerDisplay => $"(<= {
LeftChild
.DebuggerDisplay} {RightChild.DebuggerDisplay})";
Evaluation\Conditionals\MultipleComparisonExpressionNode.cs (8)
40
LeftChild
!= null && RightChild != null,
56
if (
LeftChild
.IsUnexpandedValueEmpty() || RightChild.IsUnexpandedValueEmpty())
61
bool leftEmpty =
LeftChild
.EvaluatesToEmpty(state);
69
else if (
LeftChild
.TryNumericEvaluate(state, out double leftNumericValue) && RightChild.TryNumericEvaluate(state, out double rightNumericValue))
79
else if (
LeftChild
.TryBoolEvaluate(state, out bool leftBoolValue) && RightChild.TryBoolEvaluate(state, out bool rightBoolValue))
84
string leftExpandedValue =
LeftChild
.GetExpandedValue(state);
111
string leftUnexpandedValue =
LeftChild
.GetUnexpandedValue(state);
127
LeftChild
.GetExpandedValue(state));
Evaluation\Conditionals\NotEqualExpressionNode.cs (1)
39
internal override string DebuggerDisplay => $"(!= {
LeftChild
.DebuggerDisplay} {RightChild.DebuggerDisplay})";
Evaluation\Conditionals\NotExpressionNode.cs (6)
21
if (!
LeftChild
.TryBoolEvaluate(state, out bool boolValue))
26
LeftChild
.GetUnexpandedValue(state),
27
LeftChild
.GetExpandedValue(state),
39
return "!" +
LeftChild
.GetUnexpandedValue(state);
50
return "!" +
LeftChild
.GetExpandedValue(state);
53
internal override string DebuggerDisplay => $"(not {
LeftChild
.DebuggerDisplay})";
Evaluation\Conditionals\NumericComparisonExpressionNode.cs (4)
40
bool isLeftNum =
LeftChild
.TryNumericEvaluate(state, out double leftNum);
41
bool isLeftVersion =
LeftChild
.TryVersionEvaluate(state, out Version leftVersion);
52
isLeftNum ? RightChild.GetUnexpandedValue(state) :
LeftChild
.GetUnexpandedValue(state),
53
isLeftNum ? RightChild.GetExpandedValue(state) :
LeftChild
.GetExpandedValue(state));
Evaluation\Conditionals\OperatorExpressionNode.cs (1)
46
=> (
LeftChild
?.IsUnexpandedValueEmpty() ?? true) && (RightChild?.IsUnexpandedValueEmpty() ?? true);
Evaluation\Conditionals\OrExpressionNode.cs (4)
21
if (!
LeftChild
.TryBoolEvaluate(state, out bool leftBool))
26
LeftChild
.GetUnexpandedValue(state),
27
LeftChild
.GetExpandedValue(state),
52
internal override string DebuggerDisplay => $"(or {
LeftChild
.DebuggerDisplay} {RightChild.DebuggerDisplay})";