blob: 8c2c04341a72310dfb9e36c8f8d2c1c132404351 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// CS0108: `Bar.this[int, int]' hides inherited member `Foo.this[int, int]'. Use the new keyword if hiding was intended
// Line: 15
// Compiler options: -warnaserror -warn:2
public class Foo
{
public long this [int start, int count] {
set {
}
}
}
public class Bar : Foo
{
public virtual long this [int i, int length] {
set {
}
}
}
|