[metadata] Use MONO_PROFILER_API on MonoClass getters in checked builds (#20440)
[mono-project.git] / mcs / errors / cs0176-2.cs
blob9ee7eb02621d816a1145882ae83e34f287b32f2f
1 // CS0176: Static member `MyClass.Start(string)' cannot be accessed with an instance reference, qualify it with a type name instead
2 // Line: 10
3 using System;
5 class TestIt
7 public static void Main()
9 MyClass p = new MyClass();
10 p.Start ("hi");
14 class MyClass
16 public static void Start (string info)