Merge pull request #4926 from BrzVlad/fix-tls-v5
[mono-project.git] / mcs / errors / cs0472-3.cs
blobc3f5ef3111e1f90a32d1cf672b81233fb7d59c4e
1 // CS0472: The result of comparing value type `int' with null is always `true'
2 // Line: 9
3 // Compiler options: -warnaserror -warn:2
5 public class X
7 public static void Compute (int x)
9 if (true && x != null)
10 return;