4 writes to LeftChild
Microsoft.Build (4)
Evaluation\Conditionals\Parser.cs (4)
163
orNode.
LeftChild
= lhs;
208
andNode.
LeftChild
= lhs;
235
node.
LeftChild
= lhs;
324
notNode.
LeftChild
= expr;
38 references to LeftChild
Microsoft.Build (38)
Evaluation\Conditionals\AndExpressionNode.cs (4)
24
if (!
LeftChild
.TryBoolEvaluate(state, out bool leftBool))
29
LeftChild
.GetUnexpandedValue(state),
30
LeftChild
.GetExpandedValue(state),
55
internal override string DebuggerDisplay => $"(and {
LeftChild
.DebuggerDisplay} {RightChild.DebuggerDisplay})";
Evaluation\Conditionals\EqualExpressionNode.cs (1)
41
internal override string DebuggerDisplay => $"(== {
LeftChild
.DebuggerDisplay} {RightChild.DebuggerDisplay})";
Evaluation\Conditionals\GreaterThanExpressionNode.cs (1)
64
internal override string DebuggerDisplay => $"(> {
LeftChild
.DebuggerDisplay} {RightChild.DebuggerDisplay})";
Evaluation\Conditionals\GreaterThanOrEqualExpressionNode.cs (1)
64
internal override string DebuggerDisplay => $"(>= {
LeftChild
.DebuggerDisplay} {RightChild.DebuggerDisplay})";
Evaluation\Conditionals\LessThanExpressionNode.cs (1)
75
internal override string DebuggerDisplay => $"(< {
LeftChild
.DebuggerDisplay} {RightChild.DebuggerDisplay})";
Evaluation\Conditionals\LessThanOrEqualExpressionNode.cs (1)
64
internal override string DebuggerDisplay => $"(<= {
LeftChild
.DebuggerDisplay} {RightChild.DebuggerDisplay})";
Evaluation\Conditionals\MultipleComparisonExpressionNode.cs (8)
43
LeftChild
!= null && RightChild != null,
59
if (
LeftChild
.IsUnexpandedValueEmpty() || RightChild.IsUnexpandedValueEmpty())
64
bool leftEmpty =
LeftChild
.EvaluatesToEmpty(state);
72
else if (
LeftChild
.TryNumericEvaluate(state, out double leftNumericValue) && RightChild.TryNumericEvaluate(state, out double rightNumericValue))
82
else if (
LeftChild
.TryBoolEvaluate(state, out bool leftBoolValue) && RightChild.TryBoolEvaluate(state, out bool rightBoolValue))
87
string leftExpandedValue =
LeftChild
.GetExpandedValue(state);
120
string leftUnexpandedValue =
LeftChild
.GetUnexpandedValue(state);
136
LeftChild
.GetExpandedValue(state));
Evaluation\Conditionals\NotEqualExpressionNode.cs (1)
41
internal override string DebuggerDisplay => $"(!= {
LeftChild
.DebuggerDisplay} {RightChild.DebuggerDisplay})";
Evaluation\Conditionals\NotExpressionNode.cs (6)
24
if (!
LeftChild
.TryBoolEvaluate(state, out bool boolValue))
29
LeftChild
.GetUnexpandedValue(state),
30
LeftChild
.GetExpandedValue(state),
42
return "!" +
LeftChild
.GetUnexpandedValue(state);
53
return "!" +
LeftChild
.GetExpandedValue(state);
56
internal override string DebuggerDisplay => $"(not {
LeftChild
.DebuggerDisplay})";
Evaluation\Conditionals\NumericComparisonExpressionNode.cs (4)
43
bool isLeftNum =
LeftChild
.TryNumericEvaluate(state, out double leftNum);
44
bool isLeftVersion =
LeftChild
.TryVersionEvaluate(state, out Version leftVersion);
55
isLeftNum ? RightChild.GetUnexpandedValue(state) :
LeftChild
.GetUnexpandedValue(state),
56
isLeftNum ? RightChild.GetExpandedValue(state) :
LeftChild
.GetExpandedValue(state));
Evaluation\Conditionals\OperatorExpressionNode.cs (6)
48
=> (
LeftChild
?.IsUnexpandedValueEmpty() ?? true) && (RightChild?.IsUnexpandedValueEmpty() ?? true);
65
LeftChild
?.ResetState();
94
if (
LeftChild
!= null)
96
detectAndLChild =
LeftChild
.DetectAnd();
114
if (
LeftChild
!= null)
116
detectOrLChild =
LeftChild
.DetectOr();
Evaluation\Conditionals\OrExpressionNode.cs (4)
24
if (!
LeftChild
.TryBoolEvaluate(state, out bool leftBool))
29
LeftChild
.GetUnexpandedValue(state),
30
LeftChild
.GetExpandedValue(state),
55
internal override string DebuggerDisplay => $"(or {
LeftChild
.DebuggerDisplay} {RightChild.DebuggerDisplay})";