summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0472-5.cs
blob: f699d71efeec6b9c982ef3704bdd26c9577c107c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// CS0472: The result of comparing value type `byte' with null is always `false'
// Line: 9
// Compiler options: -warnaserror -warn:2

class C
{
	public static bool Test (byte value)
	{
		if (value == null)
			return false;

		return true;
	}
}