using System.Xml;
namespace Microsoft.Build.BuildEngine {
- internal class ConditionAndExpression : ConditionExpression {
+ internal sealed class ConditionAndExpression : ConditionExpression {
readonly ConditionExpression left;
readonly ConditionExpression right;
throw new NotSupportedException ();
}
- // FIXME: check if we really can do it
public override bool CanEvaluateToBool (Project context)
{
- return true;
+ return left.CanEvaluateToBool (context) && right.CanEvaluateToBool (context);
}
public override bool CanEvaluateToNumber (Project context)