ambiguity between "aa.xx" and "aa.xx(x,x)" (rename and othe)

Explore, browse and analyze .NET assemblies

Moderators: Luke Jefferson, Charles Brown, StephenC, Alex.Davies, Greg.Tillman, melvyn.harbour

ambiguity between "aa.xx" and "aa.xx(x,x)" (rename and othe)

Postby bobyang » Tue Feb 08, 2011 12:33 am

Hi, tried use Reflector to extra one *.exe and I open the project under VS2010. I got a lot of errors when I open each class.

and most of errors are "ambiguity between...."

I found it is defined as variable and method are the same name. I wonder what's the bast way to make it name differently when I extract it.

I can rename all variable and method name but some files are very hugh with over 100 mothods!

thanks!

Imagehttps://sites.google.com/site/alohashare/_/rsrc/1297199419055/programming/~ambiguity%20error.jpg



Imagehhttps://sites.google.com/site/alohashare/_/rsrc/1297199398583/programming/~relfector_error1.jpg
bobyang
 
Posts: 1
Joined: Tue Feb 08, 2011 12:14 am

Postby Chris.Allen » Wed Feb 16, 2011 5:49 pm

It looks very much like this assembly has been obfuscated. You'd need to set your expectations pretty low when it comes to decompiling this and I'd say you should expect to have to manually rename. Alternatively you could write a parser that automatically renames for you. There's bound to be plenty of third party libraries so help you do this. Please check whether it has been obfuscated, perhaps you've found a bug in reflector but I doubt it...
Chris.Allen
 
Posts: 594
Joined: Thu Mar 12, 2009 4:17 pm

Postby Chris.Allen » Wed Feb 16, 2011 5:49 pm

It looks very much like this assembly has been obfuscated. You'd need to set your expectations pretty low when it comes to decompiling this and I'd say you should expect to have to manually rename. Alternatively you could write a parser that automatically renames for you. There's bound to be plenty of third party libraries so help you do this. Please check whether it has been obfuscated, perhaps you've found a bug in reflector but I doubt it...
Chris.Allen
 
Posts: 594
Joined: Thu Mar 12, 2009 4:17 pm


Return to .Net Reflector 6.x and .NET Reflector 6.x Pro

Who is online

Users browsing this forum: No registered users and 0 guests