Merge pull request #3806 from BrzVlad/feature-parallel-gc-final
[mono-project.git] / mcs / errors / cs0123-9.cs
blobe11d18cc209cb6513a3af34771aa6dad8f9a511f
1 // CS0123: A method or delegate `Program.method(A)' parameters do not match delegate `D(dynamic)' parameters
2 // Line: 19
4 delegate object D (dynamic b);
6 class A
10 class Program
12 static string method (A a)
14 return "";
17 static void Main ()
19 var d = new D (method);