summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/input/cs/630_bad-new-init-semicolon-removal.cs
blob: 2e6d5a9801b84e8455e4723a64cbd9687b6831fe (plain)
1
2
3
4
5
6
7
var dude = "Dude";
var dude2 = new { Name = "Dude", Age = 30, };
var dude3 = new { Name = "Dude", Age = 30, Kids = new { Name = "LittleDude" } };
var dude4 = new { Name = "Dude", Age = 30, Kids = new[] { "LittleDude" } };
var dude5 = new { Name = "Dude", Age = 30, Kids = new[] { new { Name = "LittleDude" } } };
Action y = () => { };
Func<int, float, bool> z = (a, b) => { var z = new { a, b }; return z == null; };