summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/expected/cs/10160-delegate.cs
blob: 6296ad80325cbfbd403e4f488c37823c116c4139 (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
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);
});