On 3/31/09, Philip_L <[email protected]> wrote: > That's where I ran into the problem. If I try to import a List<T> into > a module and use it as a type reference, I get a null reference > exception. For example: > > var returnType = typeof(List<>); > var returnTypeRef = module.Import(returnType); // This throws a > nullreference exception
Hm. I thought I fixed something similar a while ago. Are you using svn head? > ...is this the expected behavior for Module.Import(), or am I missing > something here? Nope, that's definitely a bug, we should never throw a NRE. -- Jb Evain <[email protected]> --~--~---------~--~----~------------~-------~--~----~ -- mono-cecil -~----------~----~----~----~------~----~------~--~---
