Files
mono/mcs/errors/cs0050.cs
T
Marek Safar f3a7b5e02c Updated to be more consistent
svn path=/trunk/mcs/; revision=45861
2005-06-13 12:15:59 +00:00

22 lines
285 B
C#

// cs0050.cs: Inconsistent accessibility: return type `X' is less accessible than method `Foo.Bar()'
// Line: 13
using System;
class X {
public X ()
{
}
}
public class Foo {
public static X Bar () {
return new Foo ();
}
public static void Main () {
Foo x = Bar ();
}
}