Merge pull request #1821 from iainx/replace-getline
[mono-project.git] / mcs / errors / cs0472-5.cs
blobf699d71efeec6b9c982ef3704bdd26c9577c107c
1 // CS0472: The result of comparing value type `byte' with null is always `false'
2 // Line: 9
3 // Compiler options: -warnaserror -warn:2
5 class C
7 public static bool Test (byte value)
9 if (value == null)
10 return false;
12 return true;