[Mono-bugs] [Bug 56174][Maj] Changed - MCS allows accessing static methods with instance references

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 25 May 2004 16:57:52 -0400 (EDT)


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 lluis@ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=56174

--- shadow/56174	2004-05-25 16:26:57.000000000 -0400
+++ shadow/56174.tmp.1210	2004-05-25 16:57:52.000000000 -0400
@@ -55,6 +55,11 @@
 ------- Additional Comments From miguel@ximian.com  2004-05-24 15:32 -------
 Raji?  This is fairly high priority, we got a couple of people
 running into this one.
 
 ------- Additional Comments From martin@ximian.com  2004-05-25 16:26 -------
 Maybe I'm confused, what's the bug here ? 
+
+------- Additional Comments From lluis@ximian.com  2004-05-25 16:57 -------
+The bug is that Start(string info) is static and you should not be
+able to call a static method through an object reference. If you try
+to compile the test case in MS.NET you'll get an error.