Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cs0118-8.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 48303ff9fd366b0b4f0d0d89781cbddbeff23c73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// CS0118: `A.Foo(string)' is a `method group' but a `type' was expected
// Line: 15

public class A
{
	public static void Foo (string Setting)
	{
	}
}

class Example
{
	public void Main(string[] args)
	{
		A a = new A.Foo ("test");  
	}
}