[System.Runtime.Remoting] Adds System.Core reference for tests
[mono.git] / mcs / errors / cs0120.cs
1 // CS0120: An object reference is required to access non-static member `test.method()'
2 // Line: 11
3
4 class test {
5
6         void method ()
7         {
8         }
9        
10         public static int Main (string [] args){
11                 method ();
12                 return 1;
13         }
14 }