Warnings cleanup
[mcs.git] / errors / cs0108-11.cs
blobb97d3fbf21e4a25b3c7a5bdedf3ced0ee4e79894
1 // cs0108-11.cs: `Bar.this[int, int]' hides inherited member `Foo.this[int, int]'. Use the new keyword if hiding was intended
2 // Line: 15
3 // Compiler options: -warnaserror -warn:2
5 public class Foo
7 public long this [int start, int count] {
8 set {
13 public class Bar : Foo
15 public virtual long this [int i, int length] {
16 set {