[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / errors / cs0054.cs
1 // CS0054: Inconsistent accessibility: indexer return type `ErrorCS0054' is less accessible than indexer `Foo.this[int]'
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