This is a migrated thread and some comments may be shown as answers.
Incorrect decompile
1 Answer 16 Views
This is a migrated thread and some comments may be shown as answers.
Wesley
Top achievements
Rank 1
Wesley asked on 11 Nov 2011, 04:59 AM
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;
...

1 Answer, 1 is accepted

Sort by
0
Yordan Dikov
Telerik team
answered on 17 Nov 2011, 01:10 PM
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 >>

Asked by
Wesley
Top achievements
Rank 1
Answers by
Yordan Dikov
Telerik team
Share this question
or