Errors in recompiling decompiled projects

2 posts, 0 answers
  1. Jeremy
    Jeremy avatar
    1 posts
    Member since:
    Nov 2011

    Posted 18 Nov 2011 Link to this post

    Test the decompiler by decompiling SharpDevelop (which is open source) and ensuring it compiles into a workable executable.

    Errors I usually get while compiling decompiled projects :

    1)

    Literal of type double cannot be implicitly converted to type 'float'; use an 'F' suffix to create a literal of this type (CS0664)

    public const float TranslateHandleLengthRatio = 1.85;

    2)

    Sometimes the same class implements the same function/property for 2 different interfaces. The code looks like:

    public override bool Render(IGraphics render, double pixelSize, bool highLight)
    { ... }

    private bool Jet.UserInterface.ICustomBackgroundRender.Render(IGraphics render)
    { ... }

    I get a compile error for the 2nd : The modifier 'private' is not valid for this item (CS0106)

    3)

    Events decompile improperly, I get 2 definitions in the same class:

    private EventHandler PanelChanged;

    public event EventHandler PanelChanged;

    With the error: The type 'Jet.UserInterface.TransformTool' already contains a definition for 'PanelChanged' (CS0102)
  2. Yordan Dikov
    Admin
    Yordan Dikov avatar
    69 posts

    Posted 25 Nov 2011 Link to this post

    Hi Jeremy,

    Thank you for trying out JustDecompile. We've taken note of the bugs you mentioned and I can assure you that we're working hard to improve the decompilation quality. I've updated your Telerik points as a small sign of our appreciation for your help. Hope we'll be able to resolve most of the bugs for the final release, which is close. So stay tuned and don't hesitate to tell us about any bugs you stumble upon.


     Kind regards,
    Yordan Dikov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. DevCraft banner
Back to Top