[Mono-bugs] [Bug 72400][Cos] New - Runtime does not verify if method implementing interface is virtual
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Wed, 9 Feb 2005 06:44:42 -0500 (EST)
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 nazgul@omega.pl.
http://bugzilla.ximian.com/show_bug.cgi?id=72400
--- shadow/72400 2005-02-09 06:44:42.000000000 -0500
+++ shadow/72400.tmp.23811 2005-02-09 06:44:42.000000000 -0500
@@ -0,0 +1,39 @@
+Bug#: 72400
+Product: Mono: Runtime
+Version: unspecified
+OS:
+OS Details: Mandrake 10.1 mono 1.1.3
+Status: NEW
+Resolution:
+Severity:
+Priority: Cosmetic
+Component: misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: nazgul@omega.pl
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Runtime does not verify if method implementing interface is virtual
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+When I compile special crafted IL with method implementing interface
+method, but which do not have 'virtual' specifier mono runtime silently
+accepts and run the assembly. MS.NET (correctly) refuses to run such
+invalid assembly.
+This can lead to harder tracking of bugs in compilers.
+
+Steps to reproduce the problem:
+1. ilasm virtual.il
+2. mono virtual.exe
+
+Actual Results:
+clear run
+
+Expected Results:
+error: method must be virtual to implement interface method
+
+How often does this happen?
+Always