3 writes to RightChild
Microsoft.Build (3)
Evaluation\Conditionals\Parser.cs (3)
164
orNode.
RightChild
= rhs;
209
andNode.
RightChild
= rhs;
236
node.
RightChild
= rhs;
32 references to RightChild
Microsoft.Build (32)
Evaluation\Conditionals\AndExpressionNode.cs (4)
41
if (!
RightChild
.TryBoolEvaluate(state, out bool rightBool))
46
RightChild
.GetUnexpandedValue(state),
47
RightChild
.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())
65
bool rightEmpty =
RightChild
.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))
88
string rightExpandedValue =
RightChild
.GetExpandedValue(state);
121
string rightUnexpandedValue =
RightChild
.GetUnexpandedValue(state);
128
RightChild
.GetExpandedValue(state));
Evaluation\Conditionals\NotEqualExpressionNode.cs (1)
41
internal override string DebuggerDisplay => $"(!= {LeftChild.DebuggerDisplay} {
RightChild
.DebuggerDisplay})";
Evaluation\Conditionals\NumericComparisonExpressionNode.cs (4)
45
bool isRightNum =
RightChild
.TryNumericEvaluate(state, out double rightNum);
46
bool isRightVersion =
RightChild
.TryVersionEvaluate(state, out Version rightVersion);
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);
67
RightChild
?.ResetState();
90
if (
RightChild
!= null)
92
detectAndRChild =
RightChild
.DetectAnd();
110
if (
RightChild
!= null)
112
detectOrRChild =
RightChild
.DetectOr();
Evaluation\Conditionals\OrExpressionNode.cs (4)
41
if (!
RightChild
.TryBoolEvaluate(state, out bool rightBool))
46
RightChild
.GetUnexpandedValue(state),
47
RightChild
.GetExpandedValue(state),
55
internal override string DebuggerDisplay => $"(or {LeftChild.DebuggerDisplay} {
RightChild
.DebuggerDisplay})";