2010-04-06 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / cs0205-2.cs
blob788ee1011201cd133aca610ac4334e8ef9c6c778
1 // cs0205-2.cs: Cannot call an abstract base member `A.Foobar'
2 // Line: 15
4 using System;
6 public abstract class A
8 public abstract int Foobar { get; }
11 public class B: A
13 public override int Foobar {
14 get {
15 return base.Foobar;
19 static void Main ()
21 B b = new B ();
22 if (b.Foobar == 1)