Merge pull request #901 from Blewzman/FixAggregateExceptionGetBaseException
[mono.git] / mcs / class / corlib / System / Tuples.cs
index e4d01f97a0f9d583d329bb7775febdc00e82ba31..a9631dbbdaf01de52c7fe1d8c201fbc60bc1d72f 100644 (file)
@@ -1050,7 +1050,7 @@ public class TupleGen
                        Console.WriteLine ("\t\t\th{0} = comparer.GetHashCode ({1});", destVar, GetItemName (start));
                } else {
                        int subCount = 1 << IntLog2 (count - 1);
-                       computeHash (destVar, start, subCount);
+                       WriteHash (destVar, start, subCount);
                        start += subCount;
                        count -= subCount;
                        if (count == 1) {
@@ -1062,13 +1062,6 @@ public class TupleGen
                }
        }
 
-       static void computeHash (int destVar, int start, int count)
-       {
-               Console.WriteLine ("\t\t\th{0} = comparer.GetHashCode (item{1});", destVar, start);
-               if (--count > 0)
-                       throw new NotImplementedException ();
-       }
-
        static string GetTypeName (int arity)
        {
                StringBuilder sb = new StringBuilder ();