>>> I also have a question: I have an example of an assembly output by the
>>> MS C# compiler that shrinks from 3.072 bytes to 2.048 bytes simply by
>>> loading and then saving it using Cecil. How does that happen?
>>
>> Cecil does not preserve the .rsrc (aka Win32 resources) section or the
>> PE file for the moment. So it saves some place.
>>
> What are the consequences of this other than smaller assemblies?

The most visible one: Under Windows the Application will loose it's icon and 
file information data (Like producer, product name, visible version etc.)
A lot more improbable is that the app does not work any longer if it somehow 
uses this data directly.

Greets
Andreas 

_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to