Bugzilla – Bug 313454
[PATCH] We report CS0145 as a parser error
Last modified: 2007-09-15 21:24:23 UTC
---- Reported by bmaurer@users.sf.net 2003-12-23 14:29:19 MST ---- class T { const int foo; public static void Main() { } } Should give t.cs(2,15): error CS0145: A const field requires a value to be provided ---- Additional Comments From pcgod@gmx.net 2003-12-23 20:50:51 MST ---- Created an attachment (id=165387) proposed patch ---- Additional Comments From bmaurer@users.sf.net 2003-12-23 21:16:50 MST ---- <pcgod> BenM: the patch for the constant error is not correct... it makes 52499 compile without error... ---- Additional Comments From miguel@ximian.com 2004-04-15 00:33:28 MST ---- What part is wrong? The patch looks good to me ---- Additional Comments From bmaurer@users.sf.net 2004-04-15 00:38:40 MST ---- No idea, Benjamin? ---- Additional Comments From bmaurer@users.sf.net 2004-06-01 23:42:59 MST ---- Benjamin, Ping? ---- Additional Comments From marek.safar@seznam.cz 2004-06-24 04:19:42 MST ---- Fixed in CVS Imported an attachment (id=165387) Unknown operating system unknown. Setting to default OS "Other".