Hi. I'm new in using this library and I have a couple of questions.
1. Having a FieldDefinition/PropertyDefinition/MethodDefinition/etc., can I get the actual Type of the field/property/method/etc.? 2. I tried using LoadSymbols/SaveSymbols, but doesn't seem to work. I cannot do debugging after saving the assembly. I've noticed that the pdb file is drastically modified (has only about 1/3 of its original size in my specific case) after saving. Am I doing something wrong, or this is a known issue? I am loading the symbols just after getting the AssemblyDefinition and save them just before saving the assembly, like this: var assembly = AssemblyFactory.GetAssembly(AssemblyPath); assembly.MainModule.LoadSymbols(); // ... assembly.MainModule.SaveSymbols(); AssemblyFactory.SaveAssembly(assembly, AssemblyPath); -- -- mono-cecil
