Merge pull request #4202 from marek-safar/compression
[mono-project.git] / mcs / errors / cs0054.cs
blob3e2fcded45739a123cbdf95d733086e14e532817
1 // CS0054: Inconsistent accessibility: indexer return type `ErrorCS0054' is less accessible than indexer `Foo.this[int]'
2 // Line: 13
4 using System;
6 class ErrorCS0054 {
7 public ErrorCS0054 () {}
10 public class Foo {
11 ErrorCS0054[] errors;
13 public ErrorCS0054 this[int i] {
14 get { return new ErrorCS0054 (); }
17 public static void Main () {