I am trying to build a tool that will find duplicated code in my assemblies. I have successfully done so, and removed the code that can be removed, however I now need to comment the sections of code that remain duplicated stating there is a duplicate at XYZ. My thoughts were to use mono-cecil to analyze the code and find where in the source code the method signature is. Can I find this information with mono-cecil? I was thinking the sequence point would aid me in this effort, however it always seems to be null for me. I am setting ReaderParameters.ReadSymbols = true. Is there something I'm missing? Or is there a way after calling ReadAssembly that I can check if debug symbols were read properly?
Thanks, CM -- -- mono-cecil
