[Mono-bugs] [Bug 36804][Min] Changed - mcs does not allow calling of methods with SpecialName attribute

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Wed, 29 Jan 2003 17:26:55 -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 vargaz@freemail.hu.

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

--- shadow/36804	Wed Jan 29 01:44:43 2003
+++ shadow/36804.tmp.26949	Wed Jan 29 17:26:55 2003
@@ -1,13 +1,13 @@
 Bug#: 36804
 Product: Mono/MCS
 Version: unspecified
 OS: Debian Woody
 OS Details: 
-Status: RESOLVED   
-Resolution: FIXED
+Status: REOPENED   
+Resolution: 
 Severity: Unknown
 Priority: Minor
 Component: Misc
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: vargaz@freemail.hu               
 QAContact: mono-bugs@ximian.com
@@ -61,6 +61,17 @@
 	}
 }
 ==========================================================================
 
 ------- Additional Comments From miguel@ximian.com  2003-01-29 01:44 -------
 Fix coming into cvs
+
+------- Additional Comments From vargaz@freemail.hu  2003-01-29 17:26 -------
+ Hi,
+
+ The fix is not ideal: there is nothing stopping an application from
+naming its SpecialName methods "get_". In fact, this is exactly what
+IKVM.NET does: it generates accessors for static variables, so
+System.out becomes java.lang.System.get_out().
+
+I think the correct fix is to check whenever the method is an operator
+or a property accessor.