mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 17:02:10 -10:00
23 lines
382 B
C#
23 lines
382 B
C#
// 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 ();
|
|
}
|
|
}
|