[corlib] Make Marshal.BufferToBSTR(Array, int) non-public again (#5670)
[mono.git] / mcs / errors / cs0120-3.cs
1 // CS0120: An object reference is required to access non-static member `X.method()'
2 // Line: 11
3
4 class X {
5
6         void method ()
7         {
8         }
9        
10         public static int Main (string [] args){
11                 X.method ();
12                 return 1;
13         }
14 }