[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs0221-8.cs
blob0bed9326fe9b26fed8de8e5ef46efd7958817426
1 // CS0221: Constant value `Infinity' cannot be converted to a `uint' (use `unchecked' syntax to override)
2 // Line: 6
4 class X {
5 static void Main () {
6 System.Console.WriteLine ((uint)double.PositiveInfinity);