* 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
Set eol-style to native.
* TypeConverter.cs: Always support conversion from InstanceDescriptor. Set
eol-style to native.
* UInt16Converter.cs: Implement conversion from string to match MS.NET.
Added support for converting string containing hex prefix. Set eol-style
to native.
* SByteConverter.cs: Implement conversion from string to match MS.NET.
Added support for converting string containing hex prefix. Set eol-style
to native.
* Int16Converter.cs: Implement conversion from string to match MS.NET.
Added support for converting string containing hex prefix. Set eol-style
to native.
* UInt64Converter.cs: Implement conversion from string to match MS.NET.
Added support for converting string containing hex prefix. Set eol-style
to native.
* DecimalConverter.cs: Implement conversion from string to match MS.NET.
Set eol-style to native.
* Int64Converter.cs: Implement conversion from string to match MS.NET.
Added support for converting string containing hex prefix. Set eol-style
to native.
* UInt32Converter.cs: Implement conversion from string to match MS.NET.
Added support for converting string containing hex prefix. Set eol-style
to native.
* Int32Converter.cs: Implement conversion from string to match MS.NET.
Added support for converting string containing hex prefix. Set eol-style
to native.
* DoubleConverter.cs: Implement conversion from string to match MS.NET. Set
eol-style to native.
* BaseNumberConverter.cs: Support conversion from string containing hex
prefixes. Set eol-style to native.
* ByteConverter.cs: Implement conversion from string to match MS.NET.
Added support for converting string containing hex prefix. Set eol-style
to native.
svn path=/trunk/mcs/; revision=48543
* 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
* BaseNumberConverter.cs: when the culture we get is null, set it to the
default. Fixes bug #67033. Thanks to Sander Rijken.
svn path=/trunk/mcs/; revision=38827