Bump NuGet.BuildTasks to get new updates and switch to `dev` branch (#5566)
[mono.git] / mcs / errors / cs0108-11.cs
1 // CS0108: `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
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 }