2010-04-06 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / cs0112.cs
blobe100d9c43d98dd8a55fa212af106a9007d95d676
1 // cs0112.cs: A static member `X.Bar.Add(int, int)' cannot be marked as override, virtual or abstract
2 // Line: 13
4 namespace X
6 public abstract class Foo
8 public abstract int Add (int a, int b);
11 public class Bar: Foo
13 virtual public static int Add (int a, int b)
15 int c;
16 c = a + b;
17 return c;
20 static int Main ()
22 return a;