Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cs0019-21.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d8ca656da8fa95ac15af218862c2b1d212a76e3c (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;
		const AA b = AA.a + ul;
	}
}