public short ToShort() { switch (Type.GetTypeCode(m_value.GetType())) { case TypeCode.UInt16: return (short)((ushort)m_value); case TypeCode.Int16: return (short)m_value; } return Convert.ToInt16(m_value); }