[Mono-bugs] [Bug 36804][Min] Changed - mcs does not allow calling of methods with SpecialName attribute
Sun, 16 Feb 2003 22:34:47 -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 firstname.lastname@example.org.
--- shadow/36804 Wed Jan 29 17:26:55 2003
+++ shadow/36804.tmp.17562 Sun Feb 16 22:34:47 2003
@@ -72,6 +72,15 @@
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.
+------- Additional Comments From email@example.com 2003-02-16 22:34 -------
+This could potentially be very hard to fix efficiently.
+Here is the problem: effectively, any mehtod can be a property method.
+ When we find one of these methods, we will have to extract all the
+property/event definitions and see if the method is referenced from there.
+The good news is that SpecialName methods occur rather infrequently.