summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/cs/10013-625_where-constraints.cs
blob: 123109b0d51b1418674621aa2866ee2fd660ae52 (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
30
31
32
33
34
35
36
interface D { } interface E { }

class C<T1, T2, TX, T3, T4, T5>
	: IDisposable, IEnumerable<T1>
	where T1 : class, D, E, new()
	where T2 : IDictionary<D, Dictionary<string, float>>
	where TX : struct, IDisposable
	where T3 : class
	where T4 : D where T5 : E
{
	void F<T3, T4, T5, TX, T6>()  where T3 : D, new()
	    where T4 : D
	    where T5 : D
	    where TX : new()
	    where T6 : D
	{
	}

	class C2<T1, T2, TX, T3, T4, T5>
		: IDisposable, IEnumerable<T1>
		where T1 : class, D, E, new()
		where T2 : IDictionary<D, Dictionary<string, float>>
		where TX : struct, IDisposable
		where T3 : class
		where T4 : D where T5 : E
	{
		void F2<T3, T4, T5, TX, T6>()
		    where T3 : D, new()
		    where T4 : D
		    where T5 : D
		    where TX : new()
		    where T6 : D
		{
		}
	}
}