Handling of field initialization

2 posts, 0 answers
  1. Holger Boskugel
    Holger Boskugel avatar
    27 posts
    Member since:
    Apr 2012

    Posted 09 Dec 2017 Link to this post

    Don't know why, but I observed by recovering a project from binary (code was lost by hard disk crash) that field initialization haven't reworked by JustDecomplie like this:

    private MyList<MyObjectType> myListInstance;

    have been in the original code

    private MyList<MyObjectType> myListInstance = new MyList<MyObjectType>();

    Why not possible to get this second line back by JustDecompile?

  2. Alexander
    Alexander avatar
    383 posts

    Posted 02 Jan 2018 Link to this post


    The C# compiler puts the instructions for those inline initializations in the constructors. JustDecompile has logic to recognize those initialization and display them appropriately, but it seems that it failed in this case. Would it be possible to provide us with sample project with the problem?

    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top