[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs0039-2.cs
blobf954adf0e8d54b383af475adddc7a201ad317d92
1 // CS0039: Cannot convert type `string' to `C' via a built-in conversion
2 // Line: 8
4 class C
6 public static void Main ()
8 C c = "test" as C;