summaryrefslogtreecommitdiff
path: root/mcs/errors/cs1502-17.cs
blob: e0235512fff071ddf0d00675af81051c56ba919a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// CS1502: The best overloaded method match for `Foo.Test(int, string)' has some invalid arguments
// Line: 14

using System.Runtime.CompilerServices;

public class Foo
{
	public void Test (int arg, [CallerMemberName] string s = null)
	{
	}

	void X ()
	{
		Test ("");
	}
}