[Mono-devel-list] Consolidate output of monodis with input of ilasm

Jackson Harper jackson at ximian.com
Wed Dec 8 12:20:54 EST 2004


Hi Kamil,

	I am a little confused by the changes to CreateSignature for op_*
methods. Could you submit a test case for this?

Cheers,
Jackson


On Mon, 2004-12-06 at 02:54 +0100, Kamil Skalski wrote:
> Hello!
> 
> I was working on some cases for 
> http://bugzilla.ximian.com/show_bug.cgi?id=69720
> 
> I noticed that it already works for mcs.exe, but there were many problems with 
> mscorlib.dll
> With provided patches the situation gets better, but there are still two 
> issues with mscorlib:
> 
> 1)         /// FIXME: .NET ildasm generates different things in (..)
>  { FIELD_ATTRIBUTE_HAS_FIELD_MARSHAL,        "marshal (interface) " },
> I don't know the specs of what should be put inside of (..) and how to obtain 
> this information from mono structures
> 
> 2) There are problems during compilation of mscorlib, because it uses types 
> like System.String and System.Object without [someassembly] specifier and 
> current implementation of ilasm gives it PrimitiveTypeRef, which is not good. 
> There are places in code, where ITypeRef is casted to TypeRef and then 
> everything dies with InvalidCastException.
> 
> Could anyoune review the patches, maybe fix the missing parts and commit it to 
> svn?
> Probably after succes with it, some regression tests should be created to 
> validate if every assembly can be monodis -> ilasmed.
> 




More information about the Mono-devel-list mailing list