Hey Philip, On 3/31/09, Philip_L <[email protected]> wrote: > ...and if the return type is set to an open generic type of List<T>, > the Import() method throws an exception. Is there something I have to > do with Cecil and the returnType parameter before calling the import > method?
It's hard to say without more details about the exception, or better yet, a test case ;) My guess would be that if the return type is a List<T>, then the return type is an (open) generic instance of, taking as a GenericArgument a GenericParameter, the T. Then I guess Cecil is missing some context about what T is if you try to import it. But again, hard to figure it out without more precisions. -- Jb Evain <[email protected]> --~--~---------~--~----~------------~-------~--~----~ -- mono-cecil -~----------~----~----~----~------~----~------~--~---
