3 writes to RightChild
Microsoft.Build (3)
Evaluation\Conditionals\Parser.cs (3)
164orNode.RightChild = rhs; 209andNode.RightChild = rhs; 236node.RightChild = rhs;
32 references to RightChild
Microsoft.Build (32)
Evaluation\Conditionals\AndExpressionNode.cs (4)
41if (!RightChild.TryBoolEvaluate(state, out bool rightBool)) 46RightChild.GetUnexpandedValue(state), 47RightChild.GetExpandedValue(state), 55internal override string DebuggerDisplay => $"(and {LeftChild.DebuggerDisplay} {RightChild.DebuggerDisplay})";
Evaluation\Conditionals\EqualExpressionNode.cs (1)
41internal override string DebuggerDisplay => $"(== {LeftChild.DebuggerDisplay} {RightChild.DebuggerDisplay})";
Evaluation\Conditionals\GreaterThanExpressionNode.cs (1)
64internal override string DebuggerDisplay => $"(> {LeftChild.DebuggerDisplay} {RightChild.DebuggerDisplay})";
Evaluation\Conditionals\GreaterThanOrEqualExpressionNode.cs (1)
64internal override string DebuggerDisplay => $"(>= {LeftChild.DebuggerDisplay} {RightChild.DebuggerDisplay})";
Evaluation\Conditionals\LessThanExpressionNode.cs (1)
75internal override string DebuggerDisplay => $"(< {LeftChild.DebuggerDisplay} {RightChild.DebuggerDisplay})";
Evaluation\Conditionals\LessThanOrEqualExpressionNode.cs (1)
64internal override string DebuggerDisplay => $"(<= {LeftChild.DebuggerDisplay} {RightChild.DebuggerDisplay})";
Evaluation\Conditionals\MultipleComparisonExpressionNode.cs (8)
43LeftChild != null && RightChild != null, 59if (LeftChild.IsUnexpandedValueEmpty() || RightChild.IsUnexpandedValueEmpty()) 65bool rightEmpty = RightChild.EvaluatesToEmpty(state); 72else if (LeftChild.TryNumericEvaluate(state, out double leftNumericValue) && RightChild.TryNumericEvaluate(state, out double rightNumericValue)) 82else if (LeftChild.TryBoolEvaluate(state, out bool leftBoolValue) && RightChild.TryBoolEvaluate(state, out bool rightBoolValue)) 88string rightExpandedValue = RightChild.GetExpandedValue(state); 121string rightUnexpandedValue = RightChild.GetUnexpandedValue(state); 128RightChild.GetExpandedValue(state));
Evaluation\Conditionals\NotEqualExpressionNode.cs (1)
41internal override string DebuggerDisplay => $"(!= {LeftChild.DebuggerDisplay} {RightChild.DebuggerDisplay})";
Evaluation\Conditionals\NumericComparisonExpressionNode.cs (4)
45bool isRightNum = RightChild.TryNumericEvaluate(state, out double rightNum); 46bool isRightVersion = RightChild.TryVersionEvaluate(state, out Version rightVersion); 55isLeftNum ? RightChild.GetUnexpandedValue(state) : LeftChild.GetUnexpandedValue(state), 56isLeftNum ? RightChild.GetExpandedValue(state) : LeftChild.GetExpandedValue(state));
Evaluation\Conditionals\OperatorExpressionNode.cs (6)
48=> (LeftChild?.IsUnexpandedValueEmpty() ?? true) && (RightChild?.IsUnexpandedValueEmpty() ?? true); 67RightChild?.ResetState(); 90if (RightChild != null) 92detectAndRChild = RightChild.DetectAnd(); 110if (RightChild != null) 112detectOrRChild = RightChild.DetectOr();
Evaluation\Conditionals\OrExpressionNode.cs (4)
41if (!RightChild.TryBoolEvaluate(state, out bool rightBool)) 46RightChild.GetUnexpandedValue(state), 47RightChild.GetExpandedValue(state), 55internal override string DebuggerDisplay => $"(or {LeftChild.DebuggerDisplay} {RightChild.DebuggerDisplay})";