This is a migrated thread and some comments may be shown as answers.

unexpected character '$'

1 Answer 46 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Craig
Top achievements
Rank 1
Craig asked on 14 Apr 2015, 02:07 PM

When decompiling an exe, I am getting strange results for my .design.cs files

 

all these files are littered with code like this:

if (<PrivateImplementationDetails>{961ED7BB-8130-41E7-B8D2-89204616EE4F}.$$method0x6002aac-1 == null)

 

This then won'e let me build afterwards.

 

Is there something I am missing?

1 Answer, 1 is accepted

Sort by
0
Tsviatko Yovtchev
Telerik team
answered on 14 Apr 2015, 02:28 PM
Hi,

This is compiler generated code. C#/VB language constructs result in MSIL code like this behind the curtains. More often than not JustDecompile is able to transform this back to the original code. Sometimes, however, it would fail (e.g. because of a bug, obfuscation, IL post processing, etc.) and then you'll see code like this.

You could try renaming these. That way you'll get the original behavior although the code will still be ugly.

Regards,
Tsviatko Yovtchev
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
Tags
General Discussions
Asked by
Craig
Top achievements
Rank 1
Answers by
Tsviatko Yovtchev
Telerik team
Share this question
or