Files
mono/mcs/errors/cs0054.cs
T
Marek Safar f3a7b5e02c Updated to be more consistent
svn path=/trunk/mcs/; revision=45861
2005-06-13 12:15:59 +00:00

21 lines
355 B
C#

// cs0054.cs: Inconsistent accessibility: indexer return type `ErrorCS0054' is less accessible than indexer `Foo.this[int]'
// Line: 13
using System;
class ErrorCS0054 {
public ErrorCS0054 () {}
}
public class Foo {
ErrorCS0054[] errors;
public ErrorCS0054 this[int i] {
get { return new ErrorCS0054 (); }
}
public static void Main () {
}
}