blob: c3f5ef3111e1f90a32d1cf672b81233fb7d59c4e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// CS0472: The result of comparing value type `int' with null is always `true'
// Line: 9
// Compiler options: -warnaserror -warn:2
public class X
{
public static void Compute (int x)
{
if (true && x != null)
return;
}
}
|