Hi Jb On Sun, Jan 15, 2012 at 3:21 AM, Jb Evain <[email protected]> wrote: > > Actually it has always been like this. Notice that Resolve returns a > TypeDefinition. > Resolve thus can't return an ArrayType wrapping a TypeDefinition.
Ah OK, that makes sense. I'm sure I don't know all the factors in play for the other ways cecil is used but for the way I use cecil (compiler front end) the most useful return type would probably be the System.Array class (with generic double tossed out) rather than System.Double. > > See for instance: > http://groups.google.com/group/mono-cecil/browse_thread/thread/c91aa1a9a6986670/5a519a3f1a2a6f5a > > Thinking about it, I'll had such a method to .Rocks. I just need to find an > appropriate name. OK if you want to give me homework to do this when the idea is fully formulated I can give it a go. After all my project is benefiting a lot from cecil. Thanks, Keith -- -- mono-cecil
