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

cs0139-2.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1ec421ef1561efe497dc4d81108b745c154c42a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// cs0139-2.cs : 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;
                }
        }
}