summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0458-11.cs
blob: 26f8e0c890b60e4125e3d996af05f84d606b8b8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// CS0458: The result of the expression is always `null' of type `ulong?'
// Line: 10
// Compiler options: -warnaserror -warn:2

class C
{
	static void Foo()
	{
		ulong a = 100;
		var res = a << null;
	}
}