summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/cs/10140-remove_semi.cs
blob: 3ee1926ec3de6787c513fa980a35508c3b174dd1 (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
28
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);
};