update readme (#21797)
[mono-project.git] / mcs / errors / cs0112.cs
blob59801a074be8420235543a32cf35ef0515c28110
1 // CS0112: 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;