[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs8030.cs
blob4f2751c6ea1cd8aaa730e55a1fd32a23b860dd91
1 // CS8030: Anonymous function or lambda expression converted to a void returning delegate cannot return a value
2 // Line: 10
4 using System;
6 class C
8 public void Test ()
10 Action a = () => { return Skip (); };
13 void Skip ()