ASP.NET - R# Doesn't Respect Property Access Levels

Start with a reference to a server control that resides in another project
in the same solution:

<foo:MyControl runat="server" id="bar" Property="value" />

If you change the accessibility of "Property" to be "private" (or protected,
etc.), then R# does not react by redlining the reference to the property.

In fact, mousing over "Property" still shows the proper tooltip, and Goto
Declartion still goes to the now-private declaration.


John


1 comment
Comment actions Permalink

John,
Thank you for you feedback.
I've create a request http://www.jetbrains.net/jira/browse/RSRP-29092 so you
may track progress on.

--
Sergey V. Coox
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"John Saunders" <john.saunders@trizetto.com> wrote in message
news:efc1gs$3hm$1@is.intellij.net...

Start with a reference to a server control that resides in another project
in the same solution:

>

<foo:MyControl runat="server" id="bar" Property="value" />

>

If you change the accessibility of "Property" to be "private" (or
protected, etc.), then R# does not react by redlining the reference to the
property.

>

In fact, mousing over "Property" still shows the proper tooltip, and Goto
Declartion still goes to the now-private declaration.

>
>

John

>



0

Please sign in to leave a comment.