Find the approximate disk spaced used by a specific class in an assembly
Is it possible to determine the disk spaced used by a class, namespace or method in an assembly? For example in Reflector you can see the number of bytes used by resources in the selected assembly.
I am asking because I am working with Silverlight and my client executable (xap) is get开发者_运维问答ting quite big. It's already possible to see the size of included DLL and resource files in the xap, but my main DLL is space hog, so I need go down to a code level to find out which modules are so fat.
May be CodeMetrics plugin for Reflector will help.
精彩评论