Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

26 lines
371 B
C#

// CS0112: A static member `X.Bar.Add(int, int)' cannot be marked as override, virtual or abstract
// Line: 13
namespace X
{
public abstract class Foo
{
public abstract int Add (int a, int b);
}
public class Bar: Foo
{
virtual public static int Add (int a, int b)
{
int c;
c = a + b;
return c;
}
static int Main ()
{
return a;
}
}
}