[Mono-bugs] [Bug 76561][Nor] New - [GMCS] object.c line 1288 -
runtime cannot resolve proper override
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Wed Oct 26 01:16:56 EDT 2005
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by atsushi at ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=76561
--- shadow/76561 2005-10-26 01:16:56.000000000 -0400
+++ shadow/76561.tmp.14880 2005-10-26 01:16:56.000000000 -0400
@@ -0,0 +1,55 @@
+Bug#: 76561
+Product: Mono: Runtime
+Version: 1.1
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs at ximian.com
+ReportedBy: atsushi at ximian.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: [GMCS] object.c line 1288 - runtime cannot resolve proper override
+
+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.
More information about the mono-bugs
mailing list