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

Key: RSRP-32018
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Normal Normal
Assignee: Eugene Pasynkov
Reporter: Vladimir Reshetnikov
Votes: 0
Watchers: 1
Operations

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

'protected internal' members shall be treated as 'protected' outside of their declaring assembly

Created: 16 Nov 06 17:42   Updated: 22 Nov 06 14:56
Component/s: None
Fix Version/s: None
Security Level: Everybody (All jira users)

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

Build: 304
Fixed in build: 308


 Description  « Hide
In first solution:
namespace First
{
    public class Stuff
    {
        protected internal class Nested{}
    }
}

In second solution (which refers to the first)

namespace Second
{
    public class Stuff : First.Stuff
    {
        // error CS0060: Inconsistent accessibility: base class 'First.Stuff.Nested' is less accessible than class 'Second.Stuff.Nested'
        protected internal new class Nested : First.Stuff.Nested
        {
        
        }
    }
}

ReSharper currently does not show this error.



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