2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / errors / cs0050-2.cs
blobe556bb3d6b9de384801a1a6c8961e498acbc3aff
1 // cs0050-2.cs: Inconsistent accessibility: return type `ErrorCS0052' is less accessible than method `Foo.Method()'
2 // Line: 10
4 using System;
6 class ErrorCS0052 {
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.");
13 public static void Main () {}