Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / errors / cs0122-29.cs
1 // CS0122: `Foo.Bar()' is inaccessible due to its protection level
2 // Line: 17
3
4 using System;
5
6 public class Foo
7 {
8         void Bar ()
9         {
10         }
11 }
12
13 public class Baz : Foo
14 {
15         public static void Main (String[] args)
16         {
17                 Bar ();
18         }
19 }