J
Jon Skeet [C# MVP]
Brett Romero said:Ok, yes - I see the difference. The method body has been optimized.
Since that is the case, why isn't the optimized EXE footprint
smaller? Bytes have been removed.
If you declare a type with only a single byte field, that will take the
same amount of space as a type with a single short field. It's the same
kind of thing here. There are certain alignments which are followed, so
there's "wasted" space - you've just got a bit more wasted space in the
file for the release version than the debug version.
The manifest is stored in the EXE
and that's where ILDASM gets it's info from right?
Yes.