Imported Upstream version 3.6.0

Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
This commit is contained in:
Jo Shields
2014-08-13 10:39:27 +01:00
commit a575963da9
50588 changed files with 8155799 additions and 0 deletions

26
mcs/tests/gtest-546.cs Normal file
View File

@@ -0,0 +1,26 @@
using System;
class Factory
{
public class S<G1, G2>
{
}
public static S<F1, F2> Create<F1, F2> (F1 f1, F2 f2)
{
return null;
}
}
class A
{
static TR Test<T1, T2, TR>(T1 t1, T2 t2, Func<T1, T2, TR> f)
{
return f (t1, t2);
}
public static void Main ()
{
var r = Test ("a", "b", Factory.Create);
}
}