Dnlib: how to find if method overrides some method from exetern assembly?
Hello, I'm experimenting with doing my own MSIL obfuscator using Dnlib for fun. I've found out the hard way that if class has methods that overrides some method from external assembly, for example if class overrides ToString method from System.Object, the method can't be renamed.
How can I find out using Dnlib if the method is such?
The MethodDef class has the property named Overrides, which sounds like what I need, but the list it returns is always empty for every method, even those that overrides something. I looked at the code in Github and it seems Overrides property is just a stub, maybe it will be implemented in the future versions.
0 comments:
Post a Comment