internal class B { } public class D : B { } public class Test { public static void Main() { } }
Standard input is empty
prog.cs(3,14): error CS0060: Inconsistent accessibility: base class `B' is less accessible than class `D' prog.cs(1,16): (Location of the symbol related to previous error) Compilation failed: 1 error(s), 0 warnings
Standard output is empty