[NUI] Fix Build warnings: override Equals and GetHashCode