1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
|
// CS0535: `CC' does not implement interface member `IA.this[int].set'
// Line: 33
using System;
public interface IA
{
object this[int arg] {
get;
set;
}
}
public abstract class CA : IA
{
public abstract object this[int arg] {
get;
set;
}
}
public partial class CB : CA
{
public override object this[int arg] {
get {
throw new NotImplementedException ();
}
set {
}
}
}
public class CC : CB, IA
{
public new object this[int arg] {
get {
throw new NotImplementedException ();
}
}
}
|