[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs0828-7.cs
blobc60a2618e6f299ed849f2dadb29c7f3f08c427d6
1 // CS0827: An anonymous type property `Prop' cannot be initialized with `(int, method group)'
2 // Line: 9
4 class XX
6 public static void Main ()
8 var m = new {
9 Prop = (1, Main)