Invalid C# Generated

2 posts, 0 answers
  1. Kim Richmond
    Kim Richmond avatar
    1 posts
    Member since:
    Apr 2010

    Posted 20 May 2011 Link to this post

    JustDecompile is producing the following invalid code:

    private void OnTimedEvent(object stateInfo)
    () => for (int i = 0; this._config.AppSettings.Get(string.Format("URL_{0}", i)) != null; i++)
    .OnTimedEvent(new Action());

    When the original code is:

            private void OnTimedEvent(Object stateInfo)
                base.OnTimedEvent(() =>
                    int i = 0;

                    while (_config.AppSettings.Get(string.Format("URL_{0}", i)) != null)
  2. Chris
    Chris avatar
    221 posts

    Posted 27 May 2011 Link to this post

    Hi Kim,
    Thanks for reporting this issue. We've logged it and it will be fixed for the official version (or hopefully earlier in some of the next internal builds).

    All the best,
    the Telerik team

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

Back to Top