diff options
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/cs/10161-delegate.cs')
-rw-r--r-- | debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/cs/10161-delegate.cs | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/cs/10161-delegate.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/cs/10161-delegate.cs new file mode 100644 index 00000000..152fba2b --- /dev/null +++ b/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/cs/10161-delegate.cs @@ -0,0 +1,29 @@ +void foo() +{ + obj.cb += () => { }; + + funcwithverylongname(() => + { + func(); + }); +} + +Func( + "stuff", + foo => + { + bar(); + }); + +Func( + "stuff", + foo => + { + bar(); + }); + +data.Sort( + delegate(InputData lhs, InputData rhs) + { + return lhs.m_Name.CompareTo(rhs.m_Name); + }); |