Missing parenthesis

2 posts, 0 answers
  1. Isidro Padilla
    Isidro Padilla avatar
    31 posts
    Member since:
    Sep 2012

    Posted 22 Jul 2011 Link to this post

    The decompiler does not put all the brackets correctly. Some examples are:

    Original source:

        private void botonBack_Click(object sender, EventArgs e)
        {
            try
            {
                ((iStepTemplate)this.Region).Submit();
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
            this.loadPage(((iStepTemplate)this.Region).previousRegion);
        }

    Decompiled:
    /*    private void botonBack_Click(object sender, EventArgs e)
        {
            try
            {
                (iStepTemplate)this.Region.Submit(); //(missing parenthesis)
            }
            catch (Exception exception)
            {
                MessageBox.Show(exception.Message);
            }
            this.loadPage((iStepTemplate)this.Region.previousRegion);     //(missing parenthesis)
        }
    */


    Original source:
        private void botonGenerate_Click(object sender, EventArgs e)
        {
            ((iStepTemplate)this.Region).Submit();
            this.loadPage(new Generate());
        }

    Decompiled:

    /*    private void botonGenerate_Click(object sender, EventArgs e)
        {
            (iStepTemplate)this.Region.Submit(); //(missing parenthesis)
            this.loadPage(new Generate());
        }
    */
  2. Nikolay G Rusev
    Admin
    Nikolay G Rusev avatar
    44 posts

    Posted 01 Aug 2011 Link to this post

    Hello Isidro Padilla,

    Thank you for your feedback. We've logged the problem so it will be fixed in one of the forthcoming releases. Please stay tuned.


    Regards,
    Nikolay G. Rusev
    the Telerik team

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

  3. DevCraft banner
Back to Top