Flush (work in progress)
[mono.git] / mcs / errors / cs0738-2.cs
1 // CS0738: `C' does not implement interface member `I2.Key.get' and the best implementing candidate `C.Key.get' return type `IB' does not match interface member return type `IA'
2 // Line: 22
3
4 public interface I1
5 {
6         IB Key { get; }
7 }
8
9 public interface I2
10 {
11         IA Key { get; }
12 }
13
14 public interface IB : IA
15 {
16 }
17
18 public interface IA
19 {
20 }
21
22 public class C : I1, I2
23 {
24         public IB Key { get { return null; } }
25 }