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

cs1644-4.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ac54cd12801d7285da7292d2c8aa498f82665cdd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// CS1644: Feature `switch expression of boolean type' cannot be used because it is not part of the C# 1.0 language specification
// Line: 8
// Compiler options: -langversion:ISO-1

class Class {
	public void Foo (bool b)
	{
		switch (b)
		{
			case true:
				break;
			case false:
				break;
		}
	}
}