I get this 'error' when running PEVerify on a custom generated assembly.
[MD](0x8013124C): Error: Method has a duplicate, token=0x06000023.
[token:0x06000021]
[MD](0x8013124C): Error: Method has a duplicate, token=0x06000021.
[token:0x06000023]
Besides this (and 196 others of the exact same error), there are no issues with the metadata and IL. And it works correctly too.
I have been unable to track down where it comes from (as it does not affect assembly in any way).
Google, unfortunately does not reveal much on this error.
Can someone please provide some insight on this 'error' and how it could be caused?
Thanks :)
I solved the problem.
It is caused by emitting a method with the exact signature of another.
UPDATE
This goes for any member. Hence, this will likely have the same MD error when run on obfuscated assemblies.