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)
23
if (!
LeftChild
.TryBoolEvaluate(state, out bool leftBool))
28
LeftChild
.GetUnexpandedValue(state),
29
LeftChild
.GetExpandedValue(state),
54
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)
42
LeftChild
!= null && RightChild != null,
58
if (
LeftChild
.IsUnexpandedValueEmpty() || RightChild.IsUnexpandedValueEmpty())
63
bool leftEmpty =
LeftChild
.EvaluatesToEmpty(state);
71
else if (
LeftChild
.TryNumericEvaluate(state, out double leftNumericValue) && RightChild.TryNumericEvaluate(state, out double rightNumericValue))
81
else if (
LeftChild
.TryBoolEvaluate(state, out bool leftBoolValue) && RightChild.TryBoolEvaluate(state, out bool rightBoolValue))
86
string leftExpandedValue =
LeftChild
.GetExpandedValue(state);
119
string leftUnexpandedValue =
LeftChild
.GetUnexpandedValue(state);
135
LeftChild
.GetExpandedValue(state));
Evaluation\Conditionals\NotEqualExpressionNode.cs (1)
41
internal override string DebuggerDisplay => $"(!= {
LeftChild
.DebuggerDisplay} {RightChild.DebuggerDisplay})";
Evaluation\Conditionals\NotExpressionNode.cs (6)
23
if (!
LeftChild
.TryBoolEvaluate(state, out bool boolValue))
28
LeftChild
.GetUnexpandedValue(state),
29
LeftChild
.GetExpandedValue(state),
41
return "!" +
LeftChild
.GetUnexpandedValue(state);
52
return "!" +
LeftChild
.GetExpandedValue(state);
55
internal override string DebuggerDisplay => $"(not {
LeftChild
.DebuggerDisplay})";
Evaluation\Conditionals\NumericComparisonExpressionNode.cs (4)
42
bool isLeftNum =
LeftChild
.TryNumericEvaluate(state, out double leftNum);
43
bool isLeftVersion =
LeftChild
.TryVersionEvaluate(state, out Version leftVersion);
54
isLeftNum ? RightChild.GetUnexpandedValue(state) :
LeftChild
.GetUnexpandedValue(state),
55
isLeftNum ? RightChild.GetExpandedValue(state) :
LeftChild
.GetExpandedValue(state));
Evaluation\Conditionals\OperatorExpressionNode.cs (6)
46
=> (
LeftChild
?.IsUnexpandedValueEmpty() ?? true) && (RightChild?.IsUnexpandedValueEmpty() ?? true);
63
LeftChild
?.ResetState();
92
if (
LeftChild
!= null)
94
detectAndLChild =
LeftChild
.DetectAnd();
112
if (
LeftChild
!= null)
114
detectOrLChild =
LeftChild
.DetectOr();
Evaluation\Conditionals\OrExpressionNode.cs (4)
23
if (!
LeftChild
.TryBoolEvaluate(state, out bool leftBool))
28
LeftChild
.GetUnexpandedValue(state),
29
LeftChild
.GetExpandedValue(state),
54
internal override string DebuggerDisplay => $"(or {
LeftChild
.DebuggerDisplay} {RightChild.DebuggerDisplay})";