Files
mono/mcs/errors/cs0472.cs
T
Marek Safar 41118c1fe9 Fixed tests syntax
svn path=/trunk/mcs/; revision=83266
2007-08-02 08:44:29 +00:00

13 lines
315 B
C#

// CS0472: The result of comparing `int' against null is always `true'. This operation is undocumented and it is temporary supported for compatibility reasons only
// Line: 10
// Compiler options: -warnaserror -warn:2
using System;
public class X {
public static bool Compute (int x)
{
return x != null;
}
}