|
|
@@ -307,7 +307,7 @@ namespace System {
|
|
|
pos = Int32.JumpOverWhite (pos, s, false);
|
|
|
}
|
|
|
|
|
|
- if (pos < s.Length)
|
|
|
+ if (pos < s.Length && s [pos] != '\u0000')
|
|
|
throw new FormatException ("Input string was not in the correct format: Did not parse entire string. pos = "
|
|
|
+ pos + " s.Length = " + s.Length);
|
|
|
|