Incorrect decompile

2 posts, 0 answers
  1. Wesley
    Wesley avatar
    7 posts
    Member since:
    Sep 2007

    Posted 10 Nov 2011 Link to this post

    In the standard .NET System.Web.dll (.NET 4 version), in the System.Web.Security.FormsAuthenticationModule class, in the OnLeave method, JustDecompile reports the first few lines as this:

      string str;
        if (this._fOnEnterCalled)
        {
            this._fOnEnterCalled = false;
        }
        return;
        HttpApplication httpApplication = (HttpApplication)source;
    ...

    Whereas ILSpy  provides a (presumably) correct decompilation:
    if (!this._fOnEnterCalled)
        {
            return;
        }
        this._fOnEnterCalled = false;
        HttpApplication httpApplication = (HttpApplication)source;
    ...

  2. Yordan Dikov
    Admin
    Yordan Dikov avatar
    69 posts

    Posted 17 Nov 2011 Link to this post

    Hello Wesley,

     Please accept my apologies for the delayed response. Indeed, the code we produce in this case is wrong. We're currently working on this issue, so expect improvements with some of the upcoming updates.

    All the best,
    Yordan Dikov
    the Telerik team

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

  3. DevCraft banner
Back to Top