Bugzilla – Bug 319402
[GMCS] object.c line 1288 - runtime cannot resolve proper override
Last modified: 2007-09-15 21:24:46 UTC
---- Reported by atsushi@ximian.com 2005-10-26 01:16:56 MST ---- The example code below results in runtime internal error "object.c line 1288" (it is mono_object_get_virtual_method()) using System; class Base { public virtual void Foo () { Console.WriteLine ("Foo"); } public virtual void Foo<T> () { Console.WriteLine ("Foo<>"); } } class Derived : Base { public override void Foo<T> () { Console.WriteLine ("Derived.Foo<>"); } } class Driver { public static void Main () { new Derived ().Foo<int> (); } } How often does this happen? consistently. ---- Additional Comments From atsushi@ximian.com 2005-10-26 01:24:27 MST ---- Another bug for Martin :-) I tried csc-compiled binary and it resulted in the same, and gmcs-compiled binary works fine on .NET 2.0 (beta2). ---- Additional Comments From martin@ximian.com 2005-11-23 14:11:56 MST ---- Works for me. Unknown operating system unknown. Setting to default OS "Other".