Hello, I am not renaming fields or methods. So I assume it should be relatively easier. I searched the group and I saw you suggested to look up unity's referencerewriter project..
I am using this dispatcher to reaching all referencing nodes : https://github.com/Unity-Technologies/ReferenceRewriter/blob/master/ReferenceDispatcher.cs I don't really understand their IReferenceVisitor<https://github.com/Unity-Technologies/ReferenceRewriter/blob/master/RewriteTypeReferences.cs> implementation so I don't know it is possible to use it for my needs. So I implemented my own : https://gist.github.com/Serguzest/47ca95bf1766d8fbeef4<https://gist.github.com/Serguzest/47ca95bf1766d8fbeef4> In my small tests, It seems working. But I am not sure what other scenarios I should cover. Unity reference rewriter have one more visitor<https://github.com/Unity-Technologies/ReferenceRewriter/blob/master/RewriteMethodSpecMemberRefs.cs> /dispatcher<https://github.com/Unity-Technologies/ReferenceRewriter/blob/master/MethodDefinitionDispatcher.cs> couple which are processing method bodies. I don't know what it is for. Is It some scenario I should cover too? If so, can I just use their code for it ? Thanks in advance. -- -- -- mono-cecil --- You received this message because you are subscribed to the Google Groups "mono-cecil" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
