[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs0029-9.cs
blob8f3ce68263287500ab4a2bb3d6a7cf18da8c16a3
1 // CS0029: Cannot implicitly convert type `int' to `System.EventHandler'
2 // Line: 12
4 using System;
6 class C
8 static event EventHandler h;
10 public static void Main ()
12 h = 0;