2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / errors / cs1722.cs
blob1456b83dcefc5a502bc9694466835a055c5000f0
1 // cs1722.cs: `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"; } }