summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.72.0/tests/expected/cs/10028-ifcolalign.cs
blob: 13df044044437827da5a0fd932355a94ec3b31c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
namespace Unity
{
    internal class Class
    {
        public void Foo()
        {
            if (data)   go = new ClassA();
            else        go = new ClassB();

            if (evt.alt)        modifiers += "Alt+";
            if (evt.command)    modifiers += "Cmd+";
            if (evt.control)    modifiers += "Ctrl+";
            if (evt.shift)      modifiers += "Shift+";
        }
    }
}