Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / errors / cs0121-19.cs
1 // CS0121: The call is ambiguous between the following methods or properties: `C.M(System.Func<byte,int>)' and `C.M(System.Action<int>)'
2 // Line: 18
3
4 using System;
5
6 class C
7 {
8         static void M (Func<byte,int> arg)
9         {
10         }
11         
12         static void M (Action<int> arg)
13         {
14         }
15
16         static void Main()
17         {
18                 M(l => l.GetHashCode());
19         }
20 }