[Mono-bugs] [Bug 354757] IsGenericMethodDefinition returns false for open generic method

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Mar 4 05:42:03 EST 2008


https://bugzilla.novell.com/show_bug.cgi?id=354757

User harinath at hurrynot.org added comment
https://bugzilla.novell.com/show_bug.cgi?id=354757#c16





--- Comment #16 from Raja Harinath <harinath at hurrynot.org>  2008-03-04 03:42:03 MST ---
Rodrigo, the best option is to match .NET, which I understand is

  (a) generic method definitions: return cattrs
  (b) MB based generic instances: throw exception
  (c) non-MB based generic instances: return cattrs

We currently have (a), but we silently return an empty list on (b) and (c),
which is buggy.  I'm OK with always returning cattrs in all three cases.

The above set of commits also fixed MCS to only use case (a) when looking for
cattrs, and so it should be agnostic to the bugfixes.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list