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

cs0469.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 233167bcba28e7b72087e55aba899b839240b23a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// cs0469.cs: The `goto case' value is not implicitly convertible to type `char'
// Line: 16
// Compiler options: -warnaserror -warn:2

class Test
{
	static void Main()
	{
		char c = 'c';
		switch (c)
		{
			case 'A':
				break;

			case 'a': 
				goto case 65;
		}
	}
}