Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cs0205-2.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5642245ce634e45a63acaedb0700cfa7a97cf6b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
using System;

public abstract class A
{
        public abstract int Foobar { get; }
}

public class B: A
{
        public override int Foobar  {
		get {
                	return base.Foobar;
		}
        }

        static void Main ()
        {
                B b = new B ();
                if (b.Foobar == 1)
			;
        }
}