Merge branch 'master' of http://github.com/mono/mono
[mono.git] / mcs / errors / cs0205-3.cs
1 // CS0205: Cannot call an abstract base member `A.Foobar.get'
2 // Line: 18
3 // Compiler options: -r:CS0205-3-lib.dll
4
5 using System;
6
7 public class B: A1
8 {
9         protected override int Foobar  {
10                 get {
11                         return base.Foobar;
12                 }
13         }
14
15         static void Main ()
16         {
17                 B b = new B ();
18                 if (b.Foobar == 1) {
19                 }
20         }
21 }
22