summaryrefslogtreecommitdiff
path: root/mcs/tests/gtest-lambda-11.cs
blob: cae8b89af96f9d67b99fb756d64ecc11801f4749 (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


using System;

public class Pair<T1, T2>
{
}

public delegate Pair<T1, T2> Group<T1, T2>(T1 input);


public static class C
{
	public static void Foo<TInput, TValue, TIntermediate> (Group<TInput, TValue> Pair,
		Func<TValue, Group<TInput, TIntermediate>> selector)
	{
	}
}

public class E<TI>
{
	public void Rep1<TV>(Group<TI, TV> parser)
	{
		C.Foo (parser, (x) => parser);
	}
}

public class M
{
	public static void Main ()
	{
	}
}