summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0123-7.cs
blob: 8bce8d0de5982759397167278490d89974b9744e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// CS0123: A method or delegate `C.Method(ref dynamic)' parameters do not match delegate `C.D(dynamic)' parameters
// Line: 14

public class C
{
	delegate void D (dynamic d);
	
	static void Method (ref dynamic d)
	{
	}

	public static void Main ()
	{
		D d = Method;
	}
}