public override Constant ConvertImplicitly (TypeSpec type) { if (type.BuiltinType == BuiltinTypeSpec.Type.Double) return new DoubleConstant (type, DoubleValue, loc); return base.ConvertImplicitly (type); }