Search code examples
c#.netvb.netdnspy

rename assembly uncode hex encoded names using dnspy like \uE000


How can I rename every single unicode variable name ?
Its hard to analyse, and also build. It raises a lot errors.
I know, I can change their name via edit property, but its really hard to change names in bulk manually.

Please view images: enter image description here

enter image description here

So is there any method, I can rename it in dnspy or any other hack to recover this wound ?


Solution

  • This is ok that you are getting errors, try to write in Method name and the symbols as you using in dnspy in Visual Studio or somewhere else, you will get the same thing. You could change the User-strings in ILSpy String heap or UserString heap or in dnSpy US and change the strings without errors. Stay a space (empty string) is enough to make the same thing as you show, also you may use dnlib list all of types then rename them, or use de4dot.

    Example, select method -> press edit method then change method name -> save module -> done. enter image description here

    enter image description here