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

cs0205.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 25f6050eba286770e3575439b4a975b8bc02f33b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// cs0205.cs: Cannot call an abstract base member `A.Foobar()'
// Line: 20
using System;

public abstract class A
{
        public abstract void Foobar ();
}

public class B: A
{
        public override void Foobar ()
        {
                base.Foobar ();
        }

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