This is a migrated thread and some comments may be shown as answers.

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

1 Answer 13 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Chetan Panchal
Top achievements
Rank 1
Chetan Panchal asked on 26 Sep 2011, 06:01 AM
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...

1 Answer, 1 is accepted

Sort by
0
Tsviatko Yovtchev
Telerik team
answered on 30 Sep 2011, 09:20 AM
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 telerik.com)?  Rather unfortunately, it seems we cannot diagnose this problem without reproducing it.

Greetings,
Tsviatko Yovtchev
the Telerik team

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

Tags
General Discussions
Asked by
Chetan Panchal
Top achievements
Rank 1
Answers by
Tsviatko Yovtchev
Telerik team
Share this question
or