summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0120-13.cs
blob: 0e3108bda6704df143c3cee14e5a03c4abba9b64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// CS0120: An object reference is required to access non-static member `C.Test(string)'
// Line: 8

class C
{
	static void Test (int i)
	{
		Test ("a");
	}
	
	void Test (string s)
	{
	}
}