summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10140-remove_semi.cs
diff options
context:
space:
mode:
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10140-remove_semi.cs')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10140-remove_semi.cs28
1 files changed, 28 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10140-remove_semi.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10140-remove_semi.cs
new file mode 100644
index 00000000..3ee1926e
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10140-remove_semi.cs
@@ -0,0 +1,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);
+};