2010-05-25 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / cs0738-2.cs
blob9a71e692257fcf7a05536148dba4c8e03f36512e
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
4 public interface I1
6 IB Key { get; }
9 public interface I2
11 IA Key { get; }
14 public interface IB : IA
18 public interface IA
22 public class C : I1, I2
24 public IB Key { get { return null; } }