unexpected character '$'

2 posts, 0 answers
  1. Craig
    Craig avatar
    1 posts
    Member since:
    Jan 2013

    Posted 14 Apr 2015 Link to this post

    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?

  2. Tsviatko Yovtchev
    Admin
    Tsviatko Yovtchev avatar
    408 posts

    Posted 14 Apr 2015 Link to this post

    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.

     
  3. DevCraft banner
Back to Top