summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0266-28.cs
blob: 364ae8ed9ba647e1c29587e60ded1d6fc53a7d1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// CS0266: Cannot implicitly convert type `int?' to `E'. An explicit conversion exists (are you missing a cast?)
// Line: 13

enum E
{
}

class C
{
	public static void Main ()
	{
		E e = 0;
		E r = e - null;
	}
}