Merge pull request #4926 from BrzVlad/fix-tls-v5
[mono-project.git] / mcs / errors / cs1722.cs
blobe2bd6f3a1bfa9e096a083911de4c0a7cfb8271a7
1 // CS1722: `My.Namespace.MyBaseClass': Base class `My.Namespace.MyInterfaceBase' must be specified as first
2 // Line: 21
4 using System;
6 namespace My.Namespace {
9 public interface IMyInterface {
11 String InterfaceProperty { get; }
14 public abstract class MyInterfaceBase : IMyInterface {
16 protected abstract String SubclassProperty { get; }
18 public String InterfaceProperty { get { return this.SubclassProperty; } }
21 public class MyBaseClass : IMyInterface, MyInterfaceBase {
22 // protected override String SubclassProperty { get { return "foo"; } }