summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/expected/cs/60037-UNI-29933.cs
blob: 943cbf350266ce650a8b6fced835b0afb801eb42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
void Foo1()
{
    switch (foo)
    {
        case 1:
            _bar = new Bar(x, y,
                z, a);
            break;
        case 2:
            _bar = new Bar(x, y,
                z, a);
            break;
        case 3:
            _bar = foo.bar;
            break;
        case 4:
            foo.bar = Bar.BarFunc(x, (x == y)
                ? foo.x
                : foo.y);
            break;
        case 5:
            foo.bar = Bar.BarFunc(x, (x == y)
            ? foo.x
            : foo.y);
            break;
    }
}