a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
20 lines
429 B
C#
20 lines
429 B
C#
// 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 {
|
|
}
|
|
}
|
|
}
|