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

Key: RSRP-32529
Type: Bug Bug
Status: Open Open
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: 27 Nov 06 16:18   Updated: 28 Aug 08 14:38
Component/s: Code Analysis
Fix Version/s: 4.5
Security Level: Everybody (All jira users)

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

Build: 312


 Description  « Hide
In first solution:
namespace First
{
    public class A
    {
        protected internal class B
        {
        
        }
    }
}

In second solution (which refers to the first):

using First;

namespace Second
{
    internal class C : A
    {
        public class D : B // error CS0060: Inconsistent accessibility: base class 'First.A.B' is less accessible than class 'Second.C.D'
        {
        
        }
    }
}

ReSharper currently does not show this error.

Related to http://www.jetbrains.net/jira/browse/RSRP-32018



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