2010-06-14 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / errors / cs0050.cs
blob7d5daad7638a7555cb4c8fc5c50d5188670c2851
1 // cs0050.cs: 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 ();