[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs0121-19.cs
blob38ccfe93e4ac6a9716ddc4085de1302ed312d0ac
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
4 using System;
6 class C
8 static void M (Func<byte,int> arg)
12 static void M (Action<int> arg)
16 static void Main()
18 M(l => l.GetHashCode());