summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0139-2.cs
blob: e89bf270346c26a8e99f4bf4d3477a3a28af624b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// CS0139: No enclosing loop out of which to break or continue
// Line: 10
public class Test
{
        public static void Foo (char c)
        {
                switch (char.GetUnicodeCategory (c)) {
                default:
                        if (c == 'a')
                                continue;
                        System.Console.WriteLine ();
                        break;
                }
        }
}