Bugzilla – Bug 317056
Error CS0187 is not reported
Last modified: 2007-09-15 21:24:23 UTC
---- Reported by marek.safar@seznam.cz 2005-01-31 04:41:15 MST ---- Please fill in this template when reporting a bug, unless you know what you are doing. Description of Problem: Error CS0187 is not reported => wrong IL code Steps to reproduce the problem: using System; using System.Collections; class foo { private static void Up(Hashtable h, String x, String y) { h[x + "/" + y]++; } public static void Main() { Hashtable y = new Hashtable (); Up(y, "foo", "bar"); } } Actual Results: No compilation error Expected Results: (7,3): error CS0187: No such operator '++' defined for type 'object' ---- Additional Comments From rharinath@novell.com 2005-02-17 04:18:11 MST ---- Fixed in SVN. cf https://bugzilla.novell.com/show_bug.cgi?id=MONO63202. *** This bug has been marked as a duplicate of https://bugzilla.novell.com/show_bug.cgi?id=MONO63202 *** Unknown operating system unknown. Setting to default OS "Other". This bug was marked DUPLICATE in the database it was moved from. Changing resolution to "MOVED"