Author: marek
Date: 2007-10-11 08:49:11 -0400 (Thu, 11 Oct 2007)
New Revision: 87332

Modified:
   trunk/mcs/mcs/ChangeLog
   trunk/mcs/mcs/location.cs
Log:
2007-10-11  Marek Safar  <[EMAIL PROTECTED]>
        
        * location.cs (Equals, GetHashCode): Removed.
        


Modified: trunk/mcs/mcs/ChangeLog
===================================================================
--- trunk/mcs/mcs/ChangeLog     2007-10-11 12:19:00 UTC (rev 87331)
+++ trunk/mcs/mcs/ChangeLog     2007-10-11 12:49:11 UTC (rev 87332)
@@ -1,5 +1,9 @@
 2007-10-11  Marek Safar  <[EMAIL PROTECTED]>
        
+       * location.cs (Equals, GetHashCode): Removed.
+       
+2007-10-11  Marek Safar  <[EMAIL PROTECTED]>
+       
        * report.cs: Implemented message recorder. It is used mainly for lambda
        expressions to capture otherwise swallowed error messages.
        

Modified: trunk/mcs/mcs/location.cs
===================================================================
--- trunk/mcs/mcs/location.cs   2007-10-11 12:19:00 UTC (rev 87331)
+++ trunk/mcs/mcs/location.cs   2007-10-11 12:49:11 UTC (rev 87332)
@@ -244,19 +244,6 @@
                        checkpoints [checkpoint_index] = new Checkpoint (file, 
row);
                }
                
-               public override bool Equals (object o)
-               {
-                       if (o is Location)
-                               return ((Location)o).CheckpointIndex == 
CheckpointIndex;
-                       
-                       return false;
-               }
-               
-               public override int GetHashCode ()
-               {
-                       return token.GetHashCode ();
-               }
-
                public override string ToString ()
                {
                        if (column_bits == 0 || InEmacs)

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to