[Mono-dev] [patch] coreclr/com check + icall cleanup

Sebastien Pouliot sebastien at ximian.com
Thu Oct 29 14:43:41 EDT 2009


Hello,

Two small/easy patches for review.

The first one avoid calling mono_com_init when coreclr is enabled*.
This avoid a crash if some assembly use [ComImport] on a type and throw
a TypeLoadException - which is what happens in Silverlight.

        * For some reason (I guess it use COM for it's platform code,
        while Moonlight does not) Silverlight expose [ComImport] but
        otherwise does not support COM (as least for application code).

Second patch removes some internal calls (all strings except one) that
are not used (anymore) in the class libraries.

Sebastien

p.s. both patches were created from 2-6 branch but I'll commit them
against HEAD too.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cominitcheck.20091029.diff
Type: text/x-patch
Size: 2144 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20091029/d1e1e9d0/attachment-0002.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: icalls.20091029.diff
Type: text/x-patch
Size: 12779 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20091029/d1e1e9d0/attachment-0003.bin 


More information about the Mono-devel-list mailing list