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

35 lines
440 B
C#

namespace C5
{
public class HashedArrayList<T>
{
public void Test ()
{
new HashSet <KeyValuePair<T,int>> (new KeyValuePairHasher<T,int> ());
}
}
public class HashSet<T>
{
public HashSet (IHasher<T> itemhasher)
{ }
}
public interface IHasher<T>
{
}
public struct KeyValuePair<K,V>
{
}
public sealed class KeyValuePairHasher<K,V>: IHasher<KeyValuePair<K,V>>
{
}
}
class X
{
public static void Main ()
{ }
}