2010-02-09 Miguel de Icaza <miguel@novell.com>
[mono.git] / mcs / errors / cs0118-8.cs
1 // CS0118: `A.Foo(string)' is a `method group' but a `type' was expected\r
2 // Line: 15\r
3 \r
4 public class A\r
5 {\r
6         public static void Foo (string Setting)\r
7         {\r
8         }\r
9 }\r
10 \r
11 class Example\r
12 {\r
13         public void Main(string[] args)\r
14         {\r
15                 A a = new A.Foo ("test");  \r
16         }\r
17 }