2003-04-29 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
[mono.git] / mcs / errors / cs0054.cs
1 // cs0054.cs: Inconsistent accessibility. Indexer return type is less accessible than indexer.
2 // Line: 13
3
4 using System;
5
6 class ErrorCS0054 {
7         public ErrorCS0054 () {}
8 }
9
10 public class Foo {
11         ErrorCS0054[] errors;
12
13         public ErrorCS0054 this[int i] {
14                 get { return new ErrorCS0054 (); }
15         }
16
17         public static void Main () {
18         }
19 }
20