Wed Oct 17 13:24:33 CEST 2007 Paolo Molaro <lupus@ximian.com>
[mono.git] / mcs / errors / cs0472-2.cs
1 // CS0472: The result of comparing `int' against null is always `false'. This operation is undocumented and it is temporary supported for compatibility reasons only
2 // Line: 10
3 // Compiler options: -warnaserror -warn:2
4
5 using System;
6
7 public class X {
8         public static bool Compute (int x)
9         {
10                 return x == null;
11         }
12 }