[Mono-bugs] [Bug 35669][Nor] New - mono does not support static constructors on interfaces
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
16 Dec 2002 15:57:51 -0000
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 vargaz@freemail.hu.
http://bugzilla.ximian.com/show_bug.cgi?id=35669
--- shadow/35669 Mon Dec 16 10:57:51 2002
+++ shadow/35669.tmp.25283 Mon Dec 16 10:57:51 2002
@@ -0,0 +1,30 @@
+Bug#: 35669
+Product: Mono/Runtime
+Version: unspecified
+OS: Debian Woody
+OS Details:
+Status: NEW
+Resolution:
+Severity: Unknown
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: vargaz@freemail.hu
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: mono does not support static constructors on interfaces
+
+According to the ECMA specs, interfaces are allowed to have a static
+constructor. There are some code out there which uses this (like IK.VM.NET).
+
+The attached test program verifies and runs with MS .NET, but produces the
+following error under mono:
+
+no implementation for interface method .AnInterface::.cctor() in class
+.SomeClass
+METHOD .ctor()
+
+** ERROR **: file class.c: line 692 (mono_class_setup_vtable): should not
+be reached