[mcs] C# 7 tuple (foundation only).
[mono.git] / mcs / errors / cs0123-9.cs
1 // CS0123: A method or delegate `Program.method(A)' parameters do not match delegate `D(dynamic)' parameters
2 // Line: 19
3
4 delegate object D (dynamic b);
5
6 class A
7 {
8 }
9
10 class Program
11 {
12         static string method (A a)
13         {
14                 return "";
15         }
16
17         static void Main ()
18         {
19                 var d = new D (method);
20         }
21 }