summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.72.0/tests/expected/cs/10065-UNI-1975.cs
blob: 1d2f26594aabbfb9b39b050c8817b615bf517f69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// typeof(Dictionary<, >)

// is getting changed to

// typeof(Dictionary<, >)

// (space added after comma)

// Definitely not typical for C#. Needs special handling.

public class Class
{
    public void foo(Type type)
    {
        if (type == typeof(List<>))
        {
        }
        else if (type == typeof(Dictionary<,>))
        {
            var bar = typeof(Dictionary<,>).Bar();
        }
    }
}