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