summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0019-21.cs
blob: 8deee1fa55d830b71e9f9ceb1d80aa0906202e8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// CS0019: Operator `+' cannot be applied to operands of type `AA' and `uint'
// Line: 11

enum AA : byte { a, b = 200 }

public class C
{
	public static void Main ()
	{
		const uint ul = 1;
		AA b = AA.a + ul;
	}
}