[Mono-bugs] [Bug 80805][Wis] Changed - System.ArgumentOutOfRangeException: Argument is out of range.
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Mon Feb 12 10:35:21 EST 2007
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by liedekef at telenet.be.
http://bugzilla.ximian.com/show_bug.cgi?id=80805
--- shadow/80805 2007-02-12 10:32:31.000000000 -0500
+++ shadow/80805.tmp.8608 2007-02-12 10:35:21.000000000 -0500
@@ -236,6 +236,17 @@
this happens just before the first line
. . . . . . . . . . . ENTER: System.ArgumentOutOfRangeException:.ctor
(string)(this:0x48d0ce8[System.ArgumentOutOfRangeException
etilux.exe], [STRING:0x49ac050:startIndex + length > this.length], )
+
+------- Additional Comments From liedekef at telenet.be 2007-02-12 10:35 -------
+Now that I'm in the coding part, wouldn't:
+ if (this.length == 0)
+ return String.Empty;
+before
+ if (startIndex > this.length - length)
+ throw new ArgumentOutOfRangeException
+("startIndex + length > this.length");
+
+help to solve this?
More information about the mono-bugs
mailing list