* roottypes.cs: Rename from tree.cs.
[mono.git] / mcs / errors / cs0050-2.cs
1 // cs0050-2.cs: Inconsistent accessibility: return type `ErrorCS0052' is less accessible than method `Foo.Method()'
2 // Line: 10
3
4 using System;
5
6 class ErrorCS0052 {
7 }
8
9 public class Foo {
10         public ErrorCS0052 Method () {
11                 Console.WriteLine ("The compile should advice the return type of this method is less accessible than the method.");
12         }
13         public static void Main () {}
14 }
15