a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
24 lines
286 B
C#
24 lines
286 B
C#
// CS0122: `Test.A.B' is inaccessible due to its protection level
|
|
// Line: 6
|
|
|
|
namespace Test
|
|
{
|
|
public sealed class A
|
|
{
|
|
private class B
|
|
{
|
|
public static void Method ()
|
|
{
|
|
}
|
|
}
|
|
}
|
|
|
|
class MainClass
|
|
{
|
|
public static void Main(string[] args)
|
|
{
|
|
A.B.Method ();
|
|
}
|
|
}
|
|
}
|