Merge pull request #3769 from evincarofautumn/fix-verify-before-allocs
[mono.git] / mcs / errors / cs0054.cs
index 22fcbc2409289edf6726c311b2f073326cd9cd2e..3e2fcded45739a123cbdf95d733086e14e532817 100644 (file)
@@ -1,12 +1,13 @@
-// cs0054.cs: Inconsistent accessibility. Indexer return type is less accessible than indexer.
-// Line:
+// CS0054: Inconsistent accessibility: indexer return type `ErrorCS0054' is less accessible than indexer `Foo.this[int]'
+// Line: 13
 
 using System;
 
 class ErrorCS0054 {
+       public ErrorCS0054 () {}
 }
 
-class Foo {
+public class Foo {
        ErrorCS0054[] errors;
 
        public ErrorCS0054 this[int i] {