[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs0067.cs
blobef95671a21a08606034568b23d629f3b37106564
1 // CS0067: The event `Foo.OnFoo' is never used
2 // Line: 12
3 // Compiler options: -warnaserror -warn:4
5 using System;
7 class ErrorCS0067 {
8 public delegate void FooHandler ();
11 class Foo {
12 private event ErrorCS0067.FooHandler OnFoo;
14 public static void Main () {