[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs0030-8.cs
blobed387372fee682a95451faee389cba45ad3f22de
1 // CS0030: Cannot convert type `bool' to `int'
2 // Line: 9
4 class X
6 static void Main ()
8 const bool b = true;
9 int a = (int)(b ? true : false);