Author: jpobst
Date: 2007-10-09 17:13:34 -0400 (Tue, 09 Oct 2007)
New Revision: 87227

Modified:
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Line.cs
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/LineTag.cs
Log:
2007-10-09  Jonathan Pobst  <[EMAIL PROTECTED]>

        * Line.cs, LineTag.cs: Override GetHashCode to make a compiler warning 
go
        away.  I didn't realize I needed this when I refactored these earlier.

Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2007-10-09 21:11:43 UTC (rev 87226)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2007-10-09 21:13:34 UTC (rev 87227)
@@ -1,5 +1,10 @@
 2007-10-09  Jonathan Pobst  <[EMAIL PROTECTED]>
 
+       * Line.cs, LineTag.cs: Override GetHashCode to make a compiler warning 
go
+       away.  I didn't realize I needed this when I refactored these earlier.
+
+2007-10-09  Jonathan Pobst  <[EMAIL PROTECTED]>
+
        * LineTag.cs, RichTextBox.cs, TextBoxBase.cs, TextControl.cs: Refactor 
to
        store a Color structure and use the ResPool for back color instead of
        holding onto brushes.

Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Line.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Line.cs  
2007-10-09 21:11:43 UTC (rev 87226)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Line.cs  
2007-10-09 21:13:34 UTC (rev 87227)
@@ -251,6 +251,11 @@
                        return null;
                }
 
+               public override int GetHashCode ()
+               {
+                       return base.GetHashCode ();
+               }
+               
                // Make sure we always have enoughs space in text and widths
                internal void Grow (int minimum) {
                        int     length;

Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/LineTag.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/LineTag.cs       
2007-10-09 21:11:43 UTC (rev 87226)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/LineTag.cs       
2007-10-09 21:13:34 UTC (rev 87227)
@@ -305,6 +305,11 @@
                        return res;
                }
 
+               public override int GetHashCode ()
+               {
+                       return base.GetHashCode ();
+               }
+               
                internal virtual int MaxHeight ()
                {
                        return font.Height;

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

Reply via email to