Skip to content

Compiler generated methods without a body can cause issues with certain decompilers  #46

@gompoc

Description

@gompoc

Older decompilers such as dnSpy will throw an exception when decompiling methods that make use of compiler generated methods without method bodies. In the case that cpp2il succeeds in analyzing the compiler generated method it'll decompile fine. A solution to this could possibly be to emit method bodies that are similar to the bodies that are emitted for dummy dlls with analysis turned off and then adding a "FailedToAnalyse" attribute or something onto the method.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions