>
> I think you should try with the "original" type :
> GetType("System.Nullable`1").GetConstructors()[0];
>I tried that, but it generates: newobj instance void<http://www.aisto.com/roeder/dotnet/Default.aspx?Target=code://mscorlib:2.0.5.0:7cec85d7bea7798e/System.Void>[ mscorlib<http://www.aisto.com/roeder/dotnet/Default.aspx?Target=code://mscorlib:2.0.5.0:7cec85d7bea7798e> ]System.Nullable`1<http://www.aisto.com/roeder/dotnet/Default.aspx?Target=code://mscorlib:2.0.5.0:7cec85d7bea7798e/System.Nullable<>> ::.ctor<http://www.aisto.com/roeder/dotnet/Default.aspx?Target=code://mscorlib:2.0.5.0:7cec85d7bea7798e/System.Nullable<>/.ctor(<!0>)> (!0) Which is not exactly what I'm looking for and it gives me a error on execution time: System.TypeLoadException: Could not load type 'System.Nullable`1'. It is interesting tough as I think I have the correct type reference: TypeRef #6 (01000006) ------------------------------------------------------- Token: 0x01000006 ResolutionScope: 0x23000001 TypeRefName: System.Nullable`1 MemberRef #1 (0a000001) ------------------------------------------------------- Member: (0a000001) .ctor: CallCnvntn: [DEFAULT] hasThis ReturnType: Void 1 Arguments Argument #1: Var!0 But the type spec is missing, that's also another doubt I have, if is supposed to be this way. Augusto --~--~---------~--~----~------------~-------~--~----~ -- mono-cecil -~----------~----~----~----~------~----~------~--~---
