Fix LocalClientSecuritySettingsElement.Property, and other couple of API fixes.
[mono.git] / mcs / errors / cs0205-2.cs
1 // cs0205-2.cs: Cannot call an abstract base member `A.Foobar'
2 // Line: 15
3
4 using System;
5
6 public abstract class A
7 {
8         public abstract int Foobar { get; }
9 }
10
11 public class B: A
12 {
13         public override int Foobar  {
14                 get {
15                         return base.Foobar;
16                 }
17         }
18
19         static void Main ()
20         {
21                 B b = new B ();
22                 if (b.Foobar == 1)
23                         ;
24         }
25 }
26