[Mono-list] Re flection error

Matthijs ter Woord matthijsterwoord at gmail.com
Thu Oct 30 12:17:54 EDT 2008

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.

On 10/30/08, Chris Howie <cdhowie at gmail.com> wrote:
> On Thu, Oct 30, 2008 at 7:03 AM, Matthijs ter Woord
> <matthijsterwoord at gmail.com> wrote:
>> Hello,
>> I have an assembly analysis tool which uses rreflection to inspect the
>> assemblies. On Windows + .NET this tool work very nice. Now I want to run
>> this tool on mono too (for now just on Windows) but i'm experiencing
>> issues.
>> The tool also inspects the method bodies. for getting references to the
>> MethodInfo instances etc, I use Module.ResolveMethod. However, this method
>> throws an exception when the method is in a generic class (ie,
>> System.Collections.List<int>.Add(..) )
>> Is this a known (and intended) limitation? or is it a thusfar undiscovered
>> bug?
> Is it possible that you're compiling and running using the 1.1
> framework (by using mcs to compile) instead of using the 2.0 framework
> (gmcs)?
> --
> Chris Howie
> http://www.chrishowie.com
> http://en.wikipedia.org/wiki/User:Crazycomputers

More information about the Mono-list mailing list