summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0266-27.cs
blob: a9c84e709ca803a1263743a43079545a9bce9e0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// CS0266: Cannot implicitly convert type `E?' 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;
	}
}