* CodeGenerator.cs: Write 'f' suffix for float constants.
svn path=/trunk/mcs/; revision=39666
+2005-01-27 LLuis Sanchez Gual <lluis@novell.com>
+
+ * CodeGenerator.cs: Write 'f' suffix for float constants.
+
2004-09-06 Marek Safar <marek.safar@seznam.cz>
* CodeGenerator.cs,
output.Write (formattable.ToString (null, CultureInfo.InvariantCulture));
else
output.Write (e.Value.ToString ());
+
+ if (type == typeof (float))
+ output.Write ("f");
} else {
throw new ArgumentException ("Value type (" + type + ") is not a primitive type");
}