linux-packaging-mono/mcs/tests/gtest-lambda-11.cs
Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

35 lines
437 B
C#

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 ()
{
}
}