[Mono-bugs] [Bug 624870] gmcs looks at private members instead of public propertes in annotation attribute matching
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Tue Jul 27 09:24:29 EDT 2010
http://bugzilla.novell.com/show_bug.cgi?id=624870
http://bugzilla.novell.com/show_bug.cgi?id=624870#c2
--- Comment #2 from Dawid Weiss <dawid.weiss at gmail.com> 2010-07-27 13:24:29 UTC ---
The thing is: there is a better candidate (and the only one accessible) -- the
getter of the prefix property. Microsoft's csc resolves annotation's argument
to this getter while mono's compile throws a compilation error. Annotation spec
says declaration args should be either constructor args or properties, so the
compiler shouldn't look at methods (and not at all at static methods).
I'll try to provide a minimal example that demonstrates this later on.
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list