Inconsistent accessibility with abstract classes
问题 I have an internal abstract class InternalClassBase and two (also internal) classes InternalClass1 and InternalClass2 , which inherit from InternalClassBase . I also have a public abstract class PublicClassBase and two (also public) classes PublicClass1 and PublicClass2 , which inherit from PublicClassBase . The PublicClassBase has a protected member XXX of type InternalClassBase , so both PublicClass1 and PublicClass2 can use it. This is my code: internal abstract class InternalClassBase { }