[Mono-bugs] [Bug 664556] ReviewLinqMethodRule miss some defects
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Fri Jan 14 22:36:20 EST 2011
https://bugzilla.novell.com/show_bug.cgi?id=664556
https://bugzilla.novell.com/show_bug.cgi?id=664556#c1
Sebastien Pouliot <spouliot at novell.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
CC| |jbevain at novell.com,
| |spouliot at novell.com
--- Comment #1 from Sebastien Pouliot <spouliot at novell.com> 2011-01-15 03:36:20 UTC ---
The issue is related to arrays, but not to BaseType.
What happens (and I'm not sure if it's right) is that calling Resolve on a
'InheritingClass[]' MethodReference returns 'InheritingClass' as a
MethodDefinition.
That's not what the rule expects (nor something I was aware of, not sure if it
changed in the cecil update or if I simply never noticed before today) since
the members of Array versus the members of the ElementType are, as expected,
pretty different.
Anyhow I got a fix for it but I want to talk with JB before I commit/backport
it. Thanks for the sample case!
--
Configure bugmail: https://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