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