summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/input/cs/UNI-1975.cs
blob: af678a9317bd63c107b169b764f543f0cd5a5b25 (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();
		}
	}
}