* BaseNumberConverter.cs : (ConvertTo) regardless of InnerType,
it converts the argument value to InnerType using supplied format.
(It might be not limited to NET_2_0 but it's too cosmetic to dig
into the problem. At least this is for run-test-ondotnet fixes.)
* ByteConverterTests.cs,
DecimalConverterTests.cs,
DoubleConverterTests.cs,
Int16ConverterTests.cs,
Int64ConverterTests.cs,
SByteConverterTests.cs,
SingleConverterTests.cs,
UInt16ConverterTests.cs,
UInt32ConverterTests.cs,
UInt64ConverterTests.cs:
ConvertToString() (test with custom culture) failed on .NET 2.0.
Fixed it by adding NumberFormat override in each test culture.
svn path=/trunk/mcs/; revision=59860
* Int16ConverterTests.cs: Added tests for Int16Converter.
* Int32ConverterTests.cs: Added tests for Int32Converter.
* BaseNumberConverter.cs: In ConvertFrom, wrap all exceptions that
are thrown while converting from string in an Exception.
* System_test.dll.sources: Added ByteConverterTests.cs,
Int16ConverterTests.cs and Int32ConverterTests.cs.
* Makefile: We also need to reference System.Drawing assembly to
build test assembly.
svn path=/trunk/mcs/; revision=48428