[Mono-dev] wrong generic method signature

Marek Safar marek.safar at seznam.cz
Tue Jul 8 06:44:20 EDT 2008


Hello Denis
> I would like to share with you a small modification in the mono C# 
> compiler.
Please use Mono bugzilla next time.
>
> Initially the problem was :
>
>    i write a simple generic method like this :
>
>          public void test_generic_method<A>(int B)
>
>    using the ms compiler + the VS object viewer, the signature appear 
> in the format :
>               test_generic_method<A>(int)
>
>    using the mono compiler + the VS object viewer, the signature 
> appear in the format :
>
>           test_generic_method<A>() <--- where is the paranter 
> signature part ?
>          If i use the Luts Roeader's.Net Reflector, it crashed when i 
> try to parse the class containing this method.
>
>
> ---> The mono .net framework is not installed in my computer. I use 
> only a ms .net framework. So maybe the problem doesn't occur with the 
> mono framework.
You used combination of Mono C# compiler and .NET Framework runtime, 
this is not supported scenario as you have to use Mono framework to have 
fully functional Mono C# compiler.

Thanks
Marek


More information about the Mono-devel-list mailing list