[Mono-list] Re flection error

Matthijs ter Woord matthijsterwoord at gmail.com
Thu Oct 30 12:35:25 EDT 2008


I can probably create a testcase. will be tomorrow night or saturday.

it boils down to this:
+ we made an I'll reader, which reads I'll from the method bode
it resolves il opcode operands

assume this code:
var xTest = new List<int>();

this is encoded as il opcode newobj, which gets a method handle passed
as operand. this handle can be passed to Module.ResolveMethod, which
in this case doesn't work

Chris, without further notice, i'll prepare a small testcase this weekend.

note: i'm on a 1.5 hour train ride. spent 15 minutes typing this
email. my apologies for any typos, mistakes samples which don't
reproduce the issue.

On 10/30/08, Chris Howie <cdhowie at gmail.com> wrote:
> On Thu, Oct 30, 2008 at 12:17 PM, Matthijs ter Woord
> <matthijsterwoord at gmail.com> wrote:
>> I guess that's not the case: my tool has a shrinked version of mono
>> (just the 2.0-3.5 assemblies etc). also, the tool makes heavy use of
>> generics before the point where it crashes now.
>
> Hmm, would it be possible to see the code that's malfunctioning?
>
> --
> Chris Howie
> http://www.chrishowie.com
> http://en.wikipedia.org/wiki/User:Crazycomputers
>


More information about the Mono-list mailing list