[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs0029-14.cs
blobe0141e92b643097e0b6f4226b8feaf3d687b68e3
1 // CS0029: Cannot implicitly convert type `int' to `System.IDisposable'
2 // Line: 8
4 class A
6 public static void Main ()
8 System.IDisposable id = 1;