History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: RSRP-24678
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Eugene Pasynkov
Reporter: Rich Strangfeld
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
ReSharper

Spurious "cannot change access modifiers" warning

Created: 06 Aug 06 16:52   Updated: 09 Sep 06 13:33
Component/s: Code Analysis
Fix Version/s: 2.0.1
Security Level: Everybody (All jira users)

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 240
Fixed in build: 241
Old URL: http://www.intellij.net/tracker/resharper/viewSCR?publicId=24678


 Description  « Hide
If in assembly (and namespace) A I have:

protected internal abstract bool IsHierarchical { get; }

and in assembly (and namespace) B I implement it as:

protected override bool IsHierarchical { get { return true; }}

then I get a red underline on my "get" with a resharper warning

"Cannot change access modifiers when overriding 'PROTECTED_OR_INTERNAL' inherited member 'IsHierarchical.get'.

If I change my implementation to say "protected internal override", as the warning seems to suggest, I get a compiler error. I think the resharper warning is wrong.

Thanks!
-Rich



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.