2005-06-03 Zoltan Varga <vargaz@freemail.hu>
[mono.git] / mcs / tests / gen-87.cs
1 namespace C5
2 {
3         public class HashedArrayList<T>
4         {
5                 public void Test ()
6                 {
7                         new HashSet <KeyValuePair<T,int>> (new KeyValuePairHasher<T,int> ());
8                 }
9         }
10
11         public class HashSet<T>
12         {
13                 public HashSet (IHasher<T> itemhasher)
14                 { }
15         }
16
17         public interface IHasher<T>
18         {
19         }
20
21         public struct KeyValuePair<K,V>
22         {
23         }
24
25         public sealed class KeyValuePairHasher<K,V>: IHasher<KeyValuePair<K,V>>
26         {
27         }
28 }
29
30 class X
31 {
32         static void Main ()
33         { }
34 }