2009-06-05 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / cs1644-4.cs
blobac54cd12801d7285da7292d2c8aa498f82665cdd
1 // CS1644: Feature `switch expression of boolean type' cannot be used because it is not part of the C# 1.0 language specification
2 // Line: 8
3 // Compiler options: -langversion:ISO-1
5 class Class {
6 public void Foo (bool b)
8 switch (b)
10 case true:
11 break;
12 case false:
13 break;