Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

20 lines
436 B
C#

using System;
using System.Collections.Generic;
namespace MonoBugs
{
public static class IncompleteGenericInference
{
public static void DoSomethingGeneric<T1, T2>(IEnumerable<T1> t1, IDictionary<T1,T2> t2)
{
}
public static void Main()
{
List<int> list = new List<int>();
System.Collections.Generic.Dictionary<int, float> dictionary = new Dictionary<int, float>();
DoSomethingGeneric(list, dictionary);
}
}
}