2010-05-19 Jb Evain <jbevain@novell.com>
[mcs.git] / tests / gtest-491.cs
blob912527e6f3ba5c334bff664d6f9ce422082c4358
1 using System;
2 using System.Collections.Generic;
4 interface IFoo
8 class ArrayEqualityComparer<T> : IEqualityComparer<T[]>
10 public bool Equals (T[] x, T[] y)
12 return false;
15 public int GetHashCode (T[] args)
17 return 0;
21 public class Program
23 public static int Main ()
25 var d = new Dictionary<IFoo[], IFoo> (new ArrayEqualityComparer<IFoo> ());
26 return 0;