quote only work on lambda on net_4_0
[mcs.git] / errors / cs0054.cs
blobf3841f0cb0c6d88ce9f8eadf5c84730b818b6939
1 // cs0054.cs: 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 () {