[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs1503-8.cs
blob72df4c7a5ef5792e060109f3b8746576f4307f9b
1 // CS1503: Argument `#1' cannot convert `method group' expression to type `IInterface'
2 // Line: 15
4 public delegate void Del ();
6 public interface IInterface
8 void Do ();
11 public static class Test
13 public static void Do (IInterface val)
15 Do (val.Do);