Implement Equals() and GetHashCode() for Element
Merge pull request #3054 from ke-yu/fix_magn5110

Implement Equals() and GetHashCode() for Element