Merge branch 'alexischr/nursery-canaries-managed-alloc'
[mono.git] / mcs / errors / cs0055.cs
1 // CS0055: Inconsistent accessibility: parameter type `ErrorCS0055' is less accessible than indexer `Foo.this[ErrorCS0055]'
2 // Line:  11
3
4 using System;
5
6 class ErrorCS0055 {
7         public ErrorCS0055 () {}
8 }
9
10 public class Foo {
11         public int this[ErrorCS0055 e] {
12                 get { return 5; }
13         }
14
15         public static void Main () {
16         }
17 }
18