public override bool Equals(object obj) { if (obj is UdtWrapper) { var other = obj as UdtWrapper; return m_udtType == other.m_udtType; } return false; }