I used dotpeek to decompile c# code but got a chunk of weird code.how can i fix it?

Here is the code:
        private void timer_0_Tick(object sender, EventArgs e)
        {
            Monitor.Enter(this.u0024STATICu0024timerAutoClose_Ticku002420211C128085u0024intTicku0024Init);
            try
            {
                if (this.u0024STATICu0024timerAutoClose_Ticku002420211C128085u0024intTicku0024Init.State == 0)
                {
                    this.u0024STATICu0024timerAutoClose_Ticku002420211C128085u0024intTicku0024Init.State = 2;
                    this.u0024STATICu0024timerAutoClose_Ticku002420211C128085u0024intTick = Application._MachineSetting._Receipt_Print_Interval;
                }
                else if (this.u0024STATICu0024timerAutoClose_Ticku002420211C128085u0024intTicku0024Init.State == 2)
                {
                    throw new IncompleteInitialization();
                }
            }
            finally
            {
                this.u0024STATICu0024timerAutoClose_Ticku002420211C128085u0024intTicku0024Init.State = 1;
                Monitor.Exit(this.u0024STATICu0024timerAutoClose_Ticku002420211C128085u0024intTicku0024Init);
            }
            try
            {
                this.Button_1.Text = string.Concat(this.string_4, " (", this.u0024STATICu0024timerAutoClose_Ticku002420211C128085u0024intTick.ToString(), ")");
                this.u0024STATICu0024timerAutoClose_Ticku002420211C128085u0024intTick = checked(this.u0024STATICu0024timerAutoClose_Ticku002420211C128085u0024intTick - 1);
               
                if (this.u0024STATICu0024timerAutoClose_Ticku002420211C128085u0024intTick == 0)
                {
                    this.Timer_0.Enabled = false;
                    this.Close();
                }
            }
            catch (Exception exception)
            {
                ProjectData.SetProjectError(exception);
                DisplayError.Show("-1", exception.Message, "timerAutoClose_Tick", this.string_0);
                ProjectData.ClearProjectError();
            }
        }

Could anyone have an idea on how to interpret it

0

Please sign in to leave a comment.