You've already forked linux-packaging-mono
Imported Upstream version 5.4.0.167
Former-commit-id: 5624ac747d633e885131e8349322922b6a59baaa
This commit is contained in:
parent
e49d6f06c0
commit
536cd135cc
40
mcs/errors/cs0535-8.cs
Normal file
40
mcs/errors/cs0535-8.cs
Normal file
@ -0,0 +1,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 ();
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user