Bump NuGet.BuildTasks to get new updates and switch to `dev` branch (#5566)
[mono.git] / mcs / errors / cs0122-32.cs
1 // CS0122: `A.Foo()' is inaccessible due to its protection level
2 // Line: 23
3
4 class A
5 {
6         public void Foo (int i)
7         {
8         }
9
10         private void Foo ()
11         {
12         }
13 }
14
15 class B : A
16 {
17         public static void Main ()
18         {
19         }
20
21         void Test ()
22         {
23                 Foo ();
24         }
25 }