2010-03-19 Carlos Alberto Cortez <calberto.cortez@gmail.com>
authorCarlos Alberto Cortez <calberto.cortez@gmail.com>
Fri, 19 Mar 2010 17:19:42 +0000 (17:19 -0000)
committerCarlos Alberto Cortez <calberto.cortez@gmail.com>
Fri, 19 Mar 2010 17:19:42 +0000 (17:19 -0000)
commitcca444cd7afee5f97084d971966c9a6d42f727f8
tree831d732b5f9f54a0f4f6eca3226c30b5d4e9b27a
parent13ef70bf5a09f20b75305dc3b836dd15e14bc412
2010-03-19  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* TimeSpan.cs: Move the error detection code to a separate method.
This way depending on the version we decide what error takes
precedence: OverlowException in 2.0, and FormatException in 4.0. This
also lets us keep the Execute() code cleaner and easier to understand.

svn path=/trunk/mcs/; revision=153911
mcs/class/corlib/System/ChangeLog
mcs/class/corlib/System/TimeSpan.cs