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

http://bugzilla.novell.com/show_bug.cgi?id=622267#c0


           Summary: Cecil can not import generic methods with generic
                    params
    Classification: Mono
           Product: Mono: Class Libraries
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Cecil
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          Found By: ---
           Blocker: ---


Attached is a small test case and a patch.  The issue seems to be that when
importing a generic method we call ImportSystemType on each of the parameters,
this sets the context.GenericContext.Type and then the on the next param cecil
is very confused because it things we are dealing with a different type (the
type of the param instead of the object).

I believe the solution is to just not have ImportSystemType set the generic
context type.

-- 
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