[Mono-dev] [PATCH] Improve loader errors

Rodrigo Kumpera kumpera at gmail.com
Fri Feb 22 12:13:20 EST 2008


The attached patch make the loader report more accurate errors.

First, field_from_memberref now set a loader error when the type is not
found, this change will improve the exception message thrown and will make
things much simpler on the verifier side.

Second, method_from_memberref when the type is not found a type_load error
is set instead of method_missing. This is the MS behavior.

Please review.

Rodrigo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080222/be5647f0/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: loader_errors.diff
Type: text/x-patch
Size: 3081 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080222/be5647f0/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: call_missing_class_generated.il
Type: text/x-msil
Size: 2091 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080222/be5647f0/attachment-0001.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: call_missing_method_generated.il
Type: text/x-msil
Size: 2095 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080222/be5647f0/attachment-0002.bin 


More information about the Mono-devel-list mailing list