Look at Mono.Cecil
If the Serializer can perform source code sequencing, this will not be due to PDB debugging information.
I assume that reflection is losing order because it (potentially) returns a combination of direct and inherited members. There is no “right” order of this combination.
Mono.Cecil allows you to directly access managed assembly structures as well as CIL code. Mono.cecil bites a lot of time and will not eat your puppies. This is the fastest way to analyze your assemblies, and you don’t even need to download them.
Mono.Cecil continues to write a new build if you want, but this propaganda leaves the topic.
Go get Mono.Cecil
sehe Mar 29 '11 at 15:06 2011-03-29 15:06
source share