Initial set of Ward sgen annotations (#5705)
[mono.git] / mcs / errors / cs0176-2.cs
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;
4
5 class TestIt 
6 {
7         public static void Main() 
8         {
9                 MyClass p = new MyClass();
10                 p.Start ("hi");
11         }
12 }
13
14 class MyClass
15 {
16         public static void Start (string info) 
17         {
18         }
19 }