* Mono.Posix.dll.sources: Rename Mono.Posix to Mono.Unix.
[mono.git] / mcs / errors / cs0108-11.cs
1 // cs0108.cs: The new keyword is required on 'Bar.this[int, int]' because it hides inherited member
2 // Line: 15
3 // Compiler options: -warnaserror -warn:1
4
5 public class Foo
6 {
7         public long this [int start, int count] {
8                 set {
9                 }
10         }
11 }
12
13 public class Bar : Foo
14 {
15         public virtual long this [int i, int length] {
16                 set {
17                 }
18         }
19 }