a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
18 lines
295 B
C#
18 lines
295 B
C#
// CS0535: `B' does not implement interface member `ITest2.GetName(string)'
|
|
// Line: 17
|
|
|
|
public interface ITest1 {
|
|
void GetName(string id);
|
|
}
|
|
|
|
public interface ITest2 {
|
|
void GetName(string id);
|
|
}
|
|
|
|
public class A : ITest1 {
|
|
void ITest1.GetName(string id) {
|
|
}
|
|
}
|
|
|
|
public class B : A, ITest2 {
|
|
} |