Merge pull request #4615 from alexanderkyte/string_error_handling
[mono.git] / mcs / errors / cs0464.cs
1 // CS0464: The result of comparing type `int?' with null is always `false'
2 // Line: 9
3 // Compiler options: -warnaserror -warn:2
4
5 public class X
6 {
7         public static bool Compute (int x)
8         {
9                 return x < null;
10         }
11 }