Warnings cleanup
[mcs.git] / errors / cs0738-2.cs
blobd9866e889a4115ae75a5c288df38d5922279524a
1 // CS0738: `C' does not implement interface member `I2.Key.get' and the best implementing candidate `C.Key' 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; } }