Commit 11af3494 authored by Marc Gravell's avatar Marc Gravell

TypeCode.Object should round-trip itself

parent d43495ce
......@@ -618,6 +618,7 @@ object IConvertible.ToType(Type conversionType, IFormatProvider provider)
case TypeCode.UInt16: return (ushort)this;
case TypeCode.UInt32: return (uint)this;
case TypeCode.UInt64: return (long)this;
case TypeCode.Object: return this;
default:
throw new NotSupportedException();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment