Bad decompilation when multiple assignments are done in one line...

2 posts, 0 answers
  1. Chetan Panchal
    Chetan Panchal avatar
    4 posts
    Member since:
    Dec 2009

    Posted 26 Sep 2011 Link to this post

    If I have source looking like
    this.TopOffset = (this.LeftOffset = 0);
    Or may be like this
    TopOffset = LeftOffset = 0;

     Then decompiler gives funny source code like 
      0.set_LeftOffset(int num1 = 0).TopOffset = num1;

    Please correct this...
  2. Tsviatko Yovtchev
    Tsviatko Yovtchev avatar
    549 posts

    Posted 30 Sep 2011 Link to this post

    Hello Chetan Panchal,

     Thanks for lettign us know about this problem.

    Could you send over the assembly where that happens (you could mail it to tsviatko.yovtchev at  Rather unfortunately, it seems we cannot diagnose this problem without reproducing it.

    Tsviatko Yovtchev
    the Telerik team

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

Back to Top