471,356 Members | 1,517 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,356 software developers and data experts.

Obfuscated Code Throwing TypeLoadException Saying "Overriding a Method Impl"

Just thought I would contribute some knowledge for a change.

After hours tracking down a problem with obfuscated code, where we were
getting the exception :

System.TypeLoadException: Method a on type b from assembly [ blah blah
] is overriding a method impl.

We traced it to a class that implements multiple interfaces, two of
which defined the same method, with same name and same signature. That
is,

interface A
{
void foo( bar b ) ;
}
interface B
{
void foo( bar b ) ;
}

class X : A , B

Once the method was removed from one of the interfaces, the problem
went away.

Jul 27 '05 #1
0 1063

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Adrian Parker | last post: by
7 posts views Thread by Ollej Reemt | last post: by
reply views Thread by XIAOLAOHU | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.