[mcs] Allow properties and indexers of by-ref values to be set without setter
[mono.git] / mcs / errors / cs1511.cs
1 // CS1511: Keyword `base' is not available in a static method
2 // Line:
3
4 class Y {
5         public int a;
6 }
7
8 class X : Y {
9
10         static void Main ()
11         {
12                 base.a = 1;
13         }
14 }