summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0037-4.cs
blob: c055c7ebea51c994a6aefd676e6d9ae6d4cafc02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// CS0037: Cannot convert null to `int' because it is a value type
// Line: 9

class X {
	static void Main ()
	{
		int s = 44;
		switch (s) {
			case null: break;
		}
	}
}