* Mono.Cairo/Cairo.cs (cairo_set_target_drawable): Not available anymore, removed.
[mono.git] / mcs / errors / cs0120.cs
1 // cs0120: Ie, a static method invoking a non-static method
2 // `An object reference is required for the nonstatic field, method or property test.method()
3 // Line: 11
4
5 class test {
6
7         void method ()
8         {
9         }
10        
11         public static int Main (string [] args){
12                 method ();
13                 return 1;
14         }
15 }