public virtual BooleanType InequalTo(BooleanType value) { throw new NotSupportedException(); }
public virtual bool CanBeAssigned(BooleanType value) { return(false); }
public virtual BooleanType LessThan(BooleanType value) { throw new NotSupportedException(); }
public virtual BooleanType GreaterThanOrEqual(BooleanType value) { throw new NotSupportedException(); }
public virtual IType Multiply(BooleanType value) { throw new NotSupportedException(); }
public virtual IType Divide(BooleanType value) { throw new NotSupportedException(); }
public virtual IType Subtract(BooleanType value) { throw new NotSupportedException(); }
public override bool CanBeAssigned(BooleanType value) { return(true); }
public override BooleanType InequalTo(BooleanType value) { return(new BooleanType(Value != value.GetValue())); }
public override BooleanType Or(BooleanType value) { return(new BooleanType(Value || value.GetValue())); }
public override BooleanType And(BooleanType value) { return(new BooleanType(Value && value.GetValue())); }