avoid using a custom sources file for the net_2_1_raw profile
[mcs.git] / errors / cs0176-2.cs
blob8709ee84d347f6b9489984eab0a0e9c851399a0b
1 // cs0176-2.cs: 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)