Files
mono/mcs/errors/cs0472.cs
T
2012-06-27 11:15:50 +01:00

11 lines
214 B
C#

// CS0472: The result of comparing value type `int' with null is always `true'
// Line: 8
// Compiler options: -warnaserror -warn:2
public class X {
public static bool Compute (int x)
{
return x != null;
}
}