summaryrefslogtreecommitdiff
path: root/mcs/errors/cs1729-5.cs
blob: c05c492886d8c59c47e8e577ff759c20008d2bbd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// CS1729: The type `C' does not contain a constructor that takes `2' arguments
// Line: 16

class C
{
	public C (int i)
	{
	}
}

public class Blah
{
	public static void Main ()
	{
		dynamic d = 1;
		var r = new C (1, d);
	}
}