[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs0102-11.cs
blob342d88516fdc1041a21b7873e7c76fab79603dca
1 // CS0102: The type `SampleClass' already contains a definition for `MyEvent'
2 // Line: 7
4 public class SampleClass {
5 public delegate void MyEvent ();
7 public void MyEvent () {}