Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / errors / cs0050.cs
1 // CS0050: Inconsistent accessibility: return type `X' is less accessible than method `Foo.Bar()'
2 // Line: 13
3
4 using System;
5
6 class X {
7         public X ()
8         {
9         }
10 }
11
12 public class Foo {
13         public static X Bar () {
14                 return new Foo ();
15         }
16
17         public static void Main () {
18                 Foo x = Bar ();
19         }
20 }
21