Merge pull request #1821 from iainx/replace-getline
[mono-project.git] / mcs / errors / cs0050.cs
bloba97ed819ad14e11590047df0f2cc8ce4039b984d
1 // CS0050: Inconsistent accessibility: return type `X' is less accessible than method `Foo.Bar()'
2 // Line: 13
4 using System;
6 class X {
7 public X ()
12 public class Foo {
13 public static X Bar () {
14 return new Foo ();
17 public static void Main () {
18 Foo x = Bar ();