[metadata] Use MONO_PROFILER_API on MonoClass getters in checked builds (#20440)
[mono-project.git] / mcs / errors / cs0120.cs
blobc11560612ee7db8f15ea594ca57cb4727ef2d513
1 // CS0120: An object reference is required to access non-static member `test.method()'
2 // Line: 11
4 class test {
6 void method ()
10 public static int Main (string [] args){
11 method ();
12 return 1;