* Application.cs: fix compilation errors when debug is enabled.
[mono.git] / mcs / class / Managed.Windows.Forms / System.Windows.Forms / LinkArea.cs
index 16b6954635331e253a8f747046ecfa8619f8cf7c..0417decd10797a0c417724dad863b734c2e7ffdd 100644 (file)
@@ -162,6 +162,12 @@ namespace System.Windows.Forms
                        return start << 4 | length;
                }
                
+#if NET_2_0
+               public override string ToString ()
+               {
+                       return string.Format ("{{Start={0}, Length={1}}}", this.start.ToString (), this.length.ToString ());
+               }
+#endif
                #endregion //Methods
                
        }