Merge pull request #4615 from alexanderkyte/string_error_handling
[mono.git] / mcs / errors / cs1722.cs
1 // CS1722: `My.Namespace.MyBaseClass': Base class `My.Namespace.MyInterfaceBase' must be specified as first
2 // Line: 21
3
4 using System;
5
6 namespace My.Namespace {
7
8
9     public interface IMyInterface {
10
11         String InterfaceProperty { get; }
12     }
13
14     public abstract class MyInterfaceBase : IMyInterface {
15
16         protected abstract String SubclassProperty { get; }
17
18         public String InterfaceProperty { get { return this.SubclassProperty; } }
19     }
20
21     public class MyBaseClass : IMyInterface, MyInterfaceBase {
22       //  protected override String SubclassProperty { get { return "foo"; } }
23     }
24 }
25