[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs1660-2.cs
blob82a819b1078e269e8c4617ca1398fbb2266a9a5c
1 // CS1660: Cannot convert `anonymous method' to non-delegate type `int'
2 // Line: 9
4 using System;
6 class X {
7 static void Main ()
9 int o = delegate {};