public uint ToUInt() { switch (Type.GetTypeCode(m_value.GetType())) { case TypeCode.UInt32: return (uint)m_value; case TypeCode.Int32: return (uint)((int)m_value); } return Convert.ToUInt32(m_value); }