[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs0472-4.cs
blob9c99b3a446dcf9674e40961b5db21a2b37e57111
1 // CS0472: The result of comparing value type `long' with null is always `false'
2 // Line: 9
3 // Compiler options: -warnaserror -warn:2
5 class C
7 public static void Main ()
9 System.Console.WriteLine(5 == (long?)null);