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

Kamil Skalski nazgul at nemerle.org
Sun Dec 5 20:54:41 EST 2004


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.

-- 
Kamil Skalski
http://nemerle.org developer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ilasm.diff
Type: text/x-diff
Size: 8517 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20041206/5b60857d/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: monodis.diff
Type: text/x-diff
Size: 5747 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20041206/5b60857d/attachment-0001.bin 


More information about the Mono-devel-list mailing list