copied mono-api-diff.cs from mono-2-2 branch so new patch can be applied and history...
[mono.git] / mcs / errors / cs0120-14.cs
1 // CS0120: An object reference is required to access non-static member `C.i'
2 // Line: 16
3
4 class B
5 {
6         public B (object o)
7         {
8         }
9 }
10
11 class C : B
12 {
13         int i;
14         
15         public C ()
16                 : base (i)
17         {
18         }
19 }
20