R#: ASP.NET life-cycle event methods are marked as not being used

Hello

I can't imagine that I am the first one that reports this but the ASP.NET
life-cycle event methods like Page_Load, Page_PreRender and so on... are
incorrectly being marked by R# as not being used in the code-behind file.

Cheers

Gabriel Lozano-Moran


7 comments

Gabriel,

Is solution-wide error analysis turned on?

--
Sergey V. Coox
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


0

No, should it be?

"Sergey V. Coox (JetBrains)" <qx@intellij.com> wrote in message
news:g7ep1e$jh9$1@is.intellij.net...

Gabriel,

>

Is solution-wide error analysis turned on?

>

--
Sergey V. Coox
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"



0

Dead strange. I've reproduced the problem with SWEA on only. Could you send
us a sample, pls?

--
Sergey V. Coox
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


0

Apparently this behaviour only happens when the accessibility of the methods
is set to private. Once changed to protected R# no longer highlights the
methods.


"Sergey V. Coox (JetBrains)" <qx@intellij.com> wrote in message
news:g7f1c5$tfj$1@is.intellij.net...

Dead strange. I've reproduced the problem with SWEA on only. Could you
send us a sample, pls?

>

--
Sergey V. Coox
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"



0

Gabriel,

It's dead strange. I've got several tests for this, all pass. Could you send
us a sample?

--
Sergey V. Coox
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


0

Here is a sample. And the screenshot is how it looks on my machine. I am
using R# build 919.

Cheers

Gabriel Lozano-Moran


"Sergey V. Coox (JetBrains)" <qx@intellij.com> wrote in message
news:g7h2et$l0p$1@is.intellij.net...

Gabriel,

>

It's dead strange. I've got several tests for this, all pass. Could you
send
us a sample?

>

--
Sergey V. Coox
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

>







Attachment(s):
8-08-2008 11-13-58.png
WebApplication7.zip
0

here is another weird R# behaviour
make a new web-site project, then add global.asax file and try to edit it. In my case, R# somewhow locks the file for editing, so I can't write anything. If I uninstall R# it works fine, I can edit the file.

VS2008, R# build 919

0

Please sign in to leave a comment.