Nice Tool

Hi,
I did a test with DotPeek and have been amazed about the quality of generated code. No doubt this is a great tool. Here are a couple of minor problems to improve.

Source:    
Application.UserRegistry.SetValue(this.code1.Name + "Checked", (object) (bool) (this.SaveAcode1.Checked ? true : false);


Decompiled buy DotPeek:
Application.UserRegistry.SetValue(this.code1.Name + "Checked", (object) (bool) (this.SaveAcode1.Checked ? 1 : 0));

Source:
((ISupportInitialize)this.pictureBox2).EndInit();

Decompiled buy DotPeek:
this.pictureBox2.EndInit();

Source:
((ISupportInitialize)this.pictureBox2).BeginInit();

Decompiled buy DotPeek:
this.pictureBox2.BeginInit();

I want to congratulate the team DotPeek. Thank you for sharing.
ipadilla

1 comment

Hi,

Thanks for the report.

Actually, decompiled code looks nice and should compile without any difference between the original one. I beleive it's a kind of 'syntax sugar' request for dotPeek - you're welcome to log it as a feature request here in dotPeek's YouTrack: http://youtrack.jetbrains.com/issues/DOTP.

Thanks for the positive attitude to dotPeek!

0

Please sign in to leave a comment.