summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0121.cs
blob: 5c5d1cb3c93abebd0a508e2fdbad2cdd56ebcf00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// CS0121: The call is ambiguous between the following methods or properties: `X.a(int, double)' and `X.a(double, int)'
// Line: 15

class X {
	static void a (int i, double d)
	{
	}

	static void a (double d, int i)
	{
	}

	public static void Main ()
	{
		a (0, 0);
	}
}