http://bugzilla.novell.com/show_bug.cgi?id=553306

http://bugzilla.novell.com/show_bug.cgi?id=553306#c5


--- Comment #5 from Rodrigo Kumpera <[email protected]> 2009-11-24 10:51:52 
UTC ---
Created an attachment (id=329157)
 --> (http://bugzilla.novell.com/attachment.cgi?id=329157)
Patch that fixes field_from_memberref

What about this patch?

It reworks field_from_memberref by resolving the class first then the field
signature. This way we have it for the two cases I introduced it[1].

I took the opportunity to remove a ton of code duplication from the function to
make it saner. It's possible to remove the switch statement as well, but I'll
leave it for the next time.

Please review.

[1] One was using klass uninited, so it was even worse before my "fix".

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to